Bootstrap a developer-friendly NextJS app configured with:
- Typescript
- Linting with ESLint
- Formatting with Prettier
- Linting, typechecking and formatting on by default using
husky
for commit hooks - Testing with Jest and
react-testing-library
- Style with Styled Components
- Easy generator components with Plopjs
First of all, is necessary to have Node installed on your machine.
In the project directory, you can run:
Install dependencies
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Create new components / pages
Deploy the example using Vercel:
Deploy it to the cloud with Vercel (Documentation).