Hamcker / next-js-boilerplate

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

Home Page:https://next-js-boilerplate.wittweryannick.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

https://next-js-boilerplate.wittweryannick.vercel.app/


Languages

Language:TypeScript 73.6%Language:SCSS 24.0%Language:JavaScript 2.4%