Next.js boilerplate with great defaults to fast bootstrap your new project.
- Node.js 18.x release
Run the development server:
$ npm run dev
Open http://localhost:3000 with your browser to see the result.
# Build the production version
$ npm run build
# Run the cypress in browser mode
$ npm run cypress
# Run the cypress in headless mode
$ npm run cypress:headless
# Run the development server
$ npm run dev
# Run the code style checker and fix auto-fixable errors
$ npm run format
# Run the production version of the build
$ npm run start
# Run the E2E tests in browser mode
$ npm run test:e2e
# Run the E2E tests in headless mode
$ npm run test:e2e:headless
# Run the code linter
$ npm run test:lint
# Run the unit/integration tests
$ npm run test:unit
# Run the watch mode of `npm run test:unit`
$ npm run test:unit:watch
# Run the typescript's type checking
$ npm run test:type-check
.
├── __mocks__ # Jest mocks
├── .vscode # Visual Studio Code configuration folder
├── cypress # Cypress folder
├── public # Next.js folder with public assets
├── src
│ ├── components # React components
│ └── pages # Next.js pages
├── cypress.config.ts # Cypress configuration file
├── next-env.d.ts # Auto-generated Next.js types
├── next.config.js # Next.js configuration file
├── README.md # README file
└── tsconfig.json # TypeScript configuration
For more informations, see the Next.js documentaction.
https://nextjs.org/docs/basic-features/static-file-serving
For more informations, see the Next.js documentaction.