• Stars
    star
    174
  • Rank 219,104 (Top 5 %)
  • Language
    TypeScript
  • Created almost 4 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

https://medium.com/@wityan/next-js-project-structure-1531610bed71

Next.js Boilerplate

Feel free to use this Boilerplate as a starting point for your own Next.js Projects.

๐Ÿ‘ถ Getting Started

Here you will find all the available npm commands.

๐Ÿ‘จโ€๐Ÿ’ป Develop

Use this command to develop local.

npm run dev

๐Ÿ— Build

This will create an optimized production build.

npm run build

๐ŸƒRun

Use this command to run your Application on the Server.

npm run start

๐Ÿ”Ž Well structured code

You can run one of the following commands to lint your code.

npm run lint // JS & CSS
npm run lint:scss
npm run lint:js

๐Ÿชฒ Test

Run this command to execute your jest tests.

npm run test:unit
npm run test:unit:update // Update Snapshots

Run one of these commands to run your integration & e2e tests.

npm run cypress // Command Line
npm run cypress:open // GUI

๐Ÿฅท Typescript

To verify your static typing run the following command.

npm run type:check

๐Ÿงฑ Tech Stack

Technologies