Giter Club home page Giter Club logo

nextjs-boilerplate's Introduction



NextJs Boilerplate

A Better template with NextJs with technologies to improve development.

Wakatime

View Demo ยท Report Bug ยท Request Feature

image

Table of Contents
  1. About The Project
  2. Getting Started
  3. Configuration
  4. Contributing
  5. License
  6. Deploying
  7. Contact

About The Project

๐Ÿ›  Built With

The following tools were used in building the project:

  • Next JS
  • React
  • TypeScript
  • Styled Components
  • Storybook
  • Jest
  • Testing-Library
  • Codecov
  • Cypress
  • ESLint
  • Prettier
  • Stylelint
  • Handlebars
  • Actions
  • Editorconfig

(back to top)

๐ŸŒˆ Storybook

Storybook is a frontend workshop for building UI components and pages in isolation. Thousands of teams use it for UI development, testing, and documentation.


โฌ‡๏ธ Start Storybook

# With npm
npm run storybook

# With yarn
yarn storybook

# With pnpm
pnpm storybook

โฌ‡๏ธ Build Storybook

# With npm
npm run build-storybook

# With yarn
yarn build-storybook

# With pnpm
pnpm build-storybook


(back to top)

๐Ÿ… Lighthouse




(back to top)

๐Ÿ” Codecov

Codecov provides metrics and insights into the results of tests through code coverage reports. Coverage reports are used to determine which lines of code were tested and which lines were not tested, which may contain bugs and syntax errors.


(back to top)

๐Ÿš€ Getting Started

Prerequisites

To clone and run this application, you'll need Git and NodeJs (which comes with npm) installed on your computer.

Installation

  1. Clone the repository.
git clone https://github.com/GabrielGuedess/NextJs-Boilerplate
  1. Go into the repository
cd NextJs-Boilerplate
  1. Install dependencies.
# With npm
npm i

# With yarn
yarn

# With pnpm
pnpm i
  1. Start project.
# With npm
npm run dev

# With yarn
yarn dev

# With pnpm
pnpm dev

Note If you're using Linux Bash for Windows, see this guide or use node from the command prompt.

(back to top)

๐Ÿšจ Configuration

  • Cypress
    • Add CYPRESS_PROJECT_ID to Github.
    • Add CYPRESS_RECORD_KEY to Github.
  • Chromatic
    • Add CHROMATIC_PROJECT_TOKEN to Github.
  • Lighthouse
    • Add LIGHTHOUSE_BADGER_TOKEN to Github.

See the open issues for a full list of proposed features (and known issues).

(back to top)

๐Ÿ‘ Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/NewFeature)
  3. Commit your Changes (git commit -m 'Add some NewFeature')
  4. Push to the Branch (git push origin feature/NewFeature)
  5. Open a Pull Request

(back to top)

๐Ÿ“„ License

Distributed under the MIT License. See MIT license for more information.

(back to top)

๐ŸŒ Deploying


Deploy with Vercel

(back to top)

โญ Contact

Gabriel Guedes - @GabrielRGuedess - [email protected]

Project Link: https://nextjs-boilerplate-gabrielguedess.vercel.app


Made with โ™ฅ by ๐Ÿ‘จโ€๐Ÿš€ Gabriel Guedes ๐Ÿ‘‹ Get in touch!

(back to top)

nextjs-boilerplate's People

Contributors

dependabot[bot] avatar gabrielguedess avatar github-actions[bot] avatar kodiakhq[bot] avatar renovate[bot] avatar semantic-release-bot avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

nextjs-boilerplate's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • chore(deps): update dependency @testing-library/jest-dom to v6.1.6
  • chore(deps): update dependency @types/jest to v29.5.12
  • chore(deps): update dependency @types/next-pwa to v5.6.9
  • chore(deps): update dependency @types/node to v20.8.10
  • chore(deps): update dependency @types/react to v18.2.67
  • chore(deps): update dependency eslint-mdx to v2.2.1
  • chore(deps): update dependency eslint-plugin-chai-friendly to v0.7.4
  • chore(deps): update dependency eslint-plugin-import to v2.29.1
  • chore(deps): update dependency eslint-plugin-jest to v27.6.3
  • chore(deps): update dependency eslint-plugin-mdx to v2.2.1
  • chore(deps): update dependency eslint-plugin-styled-components-a11y to v2.1.32
  • chore(deps): update dependency node to v20.6.1
  • chore(deps): update dependency plop to v4.0.1
  • chore(deps): update dependency prettier-plugin-packagejson to v2.4.12
  • chore(deps): update dependency semantic-release to v22.0.12
  • chore(deps): update dependency start-server-and-test to v2.0.3
  • chore(deps): update dependency storybook-addon-performance to v0.17.3
  • chore(deps): update dependency storybook-dark-mode to v3.0.3
  • chore(deps): update dependency stylelint-order to v6.0.4
  • chore(deps): update dependency ts-node to v10.9.2
  • chore(deps): update typescript-eslint monorepo to v6.9.1 (patch) (@typescript-eslint/eslint-plugin, @typescript-eslint/parser)
  • fix(deps): update dependency @emotion/is-prop-valid to v1.2.2
  • fix(deps): update dependency styled-components to v6.1.8
  • chore(deps): update commitlint monorepo (minor) (@commitlint/cli, @commitlint/config-conventional, @commitlint/types)
  • chore(deps): update dependency @testing-library/jest-dom to v6.4.2
  • chore(deps): update dependency @testing-library/react to v14.2.1
  • chore(deps): update dependency @types/node to v20.11.30
  • chore(deps): update dependency chromatic to v7.6.0
  • chore(deps): update dependency cypress to v13.7.0
  • chore(deps): update dependency eslint to v8.57.0
  • chore(deps): update dependency eslint-config-prettier to v9.1.0
  • chore(deps): update dependency eslint-mdx to v2.3.4
  • chore(deps): update dependency eslint-plugin-jest to v27.9.0
  • chore(deps): update dependency eslint-plugin-jsx-a11y to v6.8.0
  • chore(deps): update dependency eslint-plugin-mdx to v2.3.4
  • chore(deps): update dependency eslint-plugin-prettier to v5.1.3
  • chore(deps): update dependency eslint-plugin-react to v7.34.1
  • chore(deps): update dependency eslint-plugin-storybook to ^0.8.0
  • chore(deps): update dependency lint-staged to v15.2.2
  • chore(deps): update dependency postcss-styled-syntax to ^0.6.0
  • chore(deps): update dependency prettier to v3.2.5
  • chore(deps): update dependency sort-package-json to v2.8.0
  • chore(deps): update dependency storybook-addon-pseudo-states to v2.2.1
  • chore(deps): update dependency stylelint-config-clean-order to v5.4.1
  • chore(deps): update dependency stylelint-z-index-value-constraint to v1.4.0
  • chore(deps): update dependency typescript to v5.4.2
  • chore(deps): update peter-evans/create-or-update-comment action to v3.1.0
  • chore(deps): update storybook monorepo to v7.6.17 (minor) (@storybook/addon-a11y, @storybook/addon-essentials, @storybook/addon-interactions, @storybook/addon-links, @storybook/addon-toolbars, @storybook/addon-viewport, @storybook/blocks, @storybook/manager-api, @storybook/nextjs, @storybook/react, @storybook/theming, storybook)
  • chore(deps): update typescript-eslint monorepo to v6.21.0 (minor) (@typescript-eslint/eslint-plugin, @typescript-eslint/parser)
  • fix(deps): update dependency next-seo to v6.5.0
  • fix(deps): update dependency polished to v4.3.1
  • fix(deps): update dependency sharp to ^0.33.0
  • fix(deps): update nextjs monorepo to v14.1.3 (minor) (@next/bundle-analyzer, @next/eslint-plugin-next, eslint-config-next, next)
  • chore(deps): update actions/cache action to v4
  • chore(deps): update actions/checkout action to v4
  • chore(deps): update actions/setup-node action to v4
  • chore(deps): update actions/upload-artifact action to v4
  • chore(deps): update chromaui/action action to v11
  • chore(deps): update codecov orb to v4
  • chore(deps): update codecov/codecov-action action to v4
  • chore(deps): update commitlint monorepo to v19 (major) (@commitlint/cli, @commitlint/config-conventional, @commitlint/types)
  • chore(deps): update cypress-io/github-action action to v6
  • chore(deps): update dawidd6/action-download-artifact action to v3
  • chore(deps): update dependency @isnotdefined/stylelint-plugin to v5
  • chore(deps): update dependency @netlify/plugin-lighthouse to v6
  • chore(deps): update dependency chromatic to v11
  • chore(deps): update dependency eslint-config-stylelint to v21
  • chore(deps): update dependency eslint-mdx to v3
  • chore(deps): update dependency eslint-plugin-mdx to v3
  • chore(deps): update dependency eslint-plugin-unicorn to v51
  • chore(deps): update dependency husky to v9
  • chore(deps): update dependency node to v20.11.1
  • chore(deps): update dependency semantic-release to v23
  • chore(deps): update dependency storybook-dark-mode to v4
  • chore(deps): update dependency stylelint to v16
  • chore(deps): update dependency stylelint-config-recommended to v14
  • chore(deps): update dependency stylelint-use-nesting to v5
  • chore(deps): update peter-evans/create-or-update-comment action to v4
  • chore(deps): update peter-evans/find-comment action to v3
  • chore(deps): update pnpm/action-setup action to v3
  • chore(deps): update storybook monorepo to v8 (major) (@storybook/addon-a11y, @storybook/addon-essentials, @storybook/addon-interactions, @storybook/addon-links, @storybook/addon-toolbars, @storybook/addon-viewport, @storybook/blocks, @storybook/manager-api, @storybook/nextjs, @storybook/react, @storybook/theming, storybook)
  • chore(deps): update typescript-eslint monorepo to v7 (major) (@typescript-eslint/eslint-plugin, @typescript-eslint/parser)
  • ๐Ÿ” Create all rate-limited PRs at once ๐Ÿ”

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

asdf
.tool-versions
  • node 20.6.0
  • pnpm 8.6.8
circleci
.circleci/config.yml
  • codecov 3.2.5
  • cimg/python 3.11.4
github-actions
.github/workflows/analysis.yml
  • actions/checkout v3
  • actions/setup-node v3
  • pnpm/action-setup v2.2.4
  • actions/cache v3
  • actions/upload-artifact v3
  • dawidd6/action-download-artifact v2
  • peter-evans/find-comment v2
  • peter-evans/create-or-update-comment v3.0.2
  • peter-evans/create-or-update-comment v3.0.2
.github/workflows/chromatic.yml
  • actions/checkout v3.5.3
  • actions/setup-node v3
  • pnpm/action-setup v2.2.4
  • chromaui/action v1
.github/workflows/ci.yml
  • actions/checkout v3.5.3
  • actions/setup-node v3
  • pnpm/action-setup v2.2.4
.github/workflows/coverage.yml
  • actions/checkout v3.5.3
  • actions/setup-node v3
  • pnpm/action-setup v2.2.4
  • codecov/codecov-action v3
.github/workflows/cypress.yml
  • actions/checkout v3.5.3
  • actions/setup-node v3
  • pnpm/action-setup v2.2.4
  • cypress-io/github-action v5.8.3
.github/workflows/lighthouse.yml
  • actions/checkout v3
  • actions/checkout v3
  • myactionway/lighthouse-badger-action v2.2
  • ubuntu 22.04
.github/workflows/release.yml
  • actions/checkout v3.5.3
  • actions/setup-node v3
  • pnpm/action-setup v2.2.4
npm
package.json
  • @emotion/is-prop-valid ^1.2.1
  • @next/bundle-analyzer ^14.0.0
  • next 14.0.0
  • next-pwa ^5.6.0
  • next-seo ^6.4.0
  • polished ^4.2.2
  • react 18.2.0
  • react-dom 18.2.0
  • sharp ^0.32.6
  • styled-components 6.1.0
  • @commitlint/cli ^18.2.0
  • @commitlint/config-conventional ^18.1.0
  • @commitlint/types ^18.1.0
  • @isnotdefined/stylelint-plugin ^3.1.0
  • @netlify/plugin-a11y 1.0.0-beta.1
  • @netlify/plugin-lighthouse ^5.0.0
  • @next/eslint-plugin-next ^14.0.0
  • @semantic-release/changelog ^6.0.3
  • @semantic-release/git ^10.0.1
  • @storybook/addon-a11y ^7.5.1
  • @storybook/addon-essentials 7.5.1
  • @storybook/addon-interactions ^7.5.1
  • @storybook/addon-links ^7.5.1
  • @storybook/addon-toolbars ^7.5.1
  • @storybook/addon-viewport ^7.5.1
  • @storybook/blocks ^7.5.1
  • @storybook/manager-api ^7.5.1
  • @storybook/nextjs 7.5.1
  • @storybook/react 7.5.1
  • @storybook/theming ^7.5.1
  • @testing-library/cypress ^10.0.1
  • @testing-library/jest-dom ^6.1.4
  • @testing-library/react ^14.0.0
  • @types/jest ^29.5.6
  • @types/next-pwa ^5.6.8
  • @types/node ^20.8.9
  • @types/react ^18.2.33
  • @typescript-eslint/eslint-plugin ^6.9.0
  • @typescript-eslint/parser ^6.9.0
  • chromatic ^7.5.4
  • commitizen ^4.3.0
  • cypress ^13.3.3
  • cz-conventional-changelog 3.3.0
  • eslint ^8.52.0
  • eslint-config-airbnb ^19.0.4
  • eslint-config-next ^14.0.0
  • eslint-config-prettier ^9.0.0
  • eslint-config-stylelint ^20.0.0
  • eslint-import-resolver-typescript ^3.6.1
  • eslint-mdx ^2.2.0
  • eslint-plugin-chai-friendly ^0.7.2
  • eslint-plugin-cypress ^2.15.1
  • eslint-plugin-import ^2.29.0
  • eslint-plugin-import-helpers ^1.3.1
  • eslint-plugin-jest ^27.6.0
  • eslint-plugin-jest-formatting ^3.1.0
  • eslint-plugin-jsx-a11y ^6.7.1
  • eslint-plugin-mdx ^2.2.0
  • eslint-plugin-prettier ^5.0.1
  • eslint-plugin-react ^7.33.2
  • eslint-plugin-react-hooks ^4.6.0
  • eslint-plugin-storybook ^0.6.15
  • eslint-plugin-styled-components-a11y ^2.1.31
  • eslint-plugin-unicorn ^48.0.1
  • husky ^8.0.3
  • jest ^29.7.0
  • jest-environment-jsdom ^29.7.0
  • jest-styled-components ^7.2.0
  • lint-staged ^15.0.2
  • next-sitemap ^4.2.3
  • plop ^4.0.0
  • postcss-styled-syntax ^0.5.0
  • prettier ^3.0.3
  • prettier-plugin-packagejson ^2.4.6
  • pretty-format ^29.7.0
  • semantic-release ^22.0.5
  • sort-package-json ^2.6.0
  • start-server-and-test ^2.0.1
  • storybook 7.5.1
  • storybook-addon-designs ^6.3.1
  • storybook-addon-performance ^0.17.1
  • storybook-addon-pseudo-states ^2.1.2
  • storybook-dark-mode ^3.0.1
  • stylelint ^15.11.0
  • stylelint-config-clean-order ^5.2.0
  • stylelint-config-prettier ^9.0.5
  • stylelint-config-recommended ^13.0.0
  • stylelint-config-styled-components ^0.1.1
  • stylelint-group-selectors ^1.0.10
  • stylelint-order ^6.0.3
  • stylelint-use-nesting ^4.1.0
  • stylelint-z-index-value-constraint ^1.3.0
  • ts-node ^10.9.1
  • ts-prune ^0.10.3
  • typescript ^5.2.2
  • node >=18.0.0
nvm
.nvmrc
  • node 19.9.0

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.