https://github.com/pedroestevaodev/boilerplate-nextjs
NextJS boilerplate-template to use in new projects.
https://github.com/pedroestevaodev/boilerplate-nextjs
boilerplate boilerplate-template cypress eslint javascript jest jest-tests nextjs nextjs-app-router nextjs-boilerplate nextjs-tailwind nextjs-template nextjs-typescript react react-template react-testing-library storybook styled-components tailwindcss typescript
Last synced: about 2 months ago
JSON representation
NextJS boilerplate-template to use in new projects.
- Host: GitHub
- URL: https://github.com/pedroestevaodev/boilerplate-nextjs
- Owner: pedroestevaodev
- License: mit
- Created: 2023-08-04T00:57:41.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2025-02-01T17:44:58.000Z (5 months ago)
- Last Synced: 2025-04-30T20:48:53.392Z (about 2 months ago)
- Topics: boilerplate, boilerplate-template, cypress, eslint, javascript, jest, jest-tests, nextjs, nextjs-app-router, nextjs-boilerplate, nextjs-tailwind, nextjs-template, nextjs-typescript, react, react-template, react-testing-library, storybook, styled-components, tailwindcss, typescript
- Language: TypeScript
- Homepage:
- Size: 1.21 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
This is a [Next.js](https://nextjs.org/) boilerplate developed during the course called [React Avançado](https://reactavancado.com.br/).
## What is inside?
This project uses lot of stuff as:
- [TypeScript](https://www.typescriptlang.org/)
- [React](https://react.dev/)
- [NextJS](https://nextjs.org/)
- [Tailwind CSS](https://tailwindcss.com/)
- [Styled Components](https://styled-components.com/)
- [Jest](https://jestjs.io/)
- [React Testing Library](https://testing-library.com/docs/react-testing-library/intro)
- [Storybook](https://storybook.js.org/)
- [Eslint](https://eslint.org/)## Getting Started
First, run the development server:
```bash
$ npm run dev
# or
$ yarn dev
# or
$ pnpm run dev
```Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
You can start editing the page by modifying `pages/index.js`. The page auto-updates as you edit the file.
## Commands
- `dev`: runs your application on `localhost:3000`
- `build`: creates the production build version
- `start`: starts a simple server with the build production code
- `lint`: runs the linter in all components and pages
- `test`: runs jest to test all components and pages in watch mode
- `cypress`: runs cypress to tests end-to-end
- `storybook`: runs storybook on `localhost:6006`
- `build-storybook`: create the build version of storybook## Learn More
To learn more about Next.js, take a look at the following resources:
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
## Deploy on Vercel
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/import?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
## Using this boilerplate
To start a new project based on this boilerplate just run the code:
```bash
$ npx create-next-app -e https://github.com/Pedro-Estevao/boilerplate-nextjs
# or
$ yarn create next-app -e https://github.com/Pedro-Estevao/boilerplate-nextjs
# or
$ pnpm create next-app -e https://github.com/Pedro-Estevao/boilerplate-nextjs
```