Setup Development Environment
Please make sure that you have installed To kickstart the development of the web app, at first need to setup the development environment. Following tools are needed to setup dev environment:
* NodeJS works as a node package manager behind the scene. It is recommended to download and install the latest version of Node JS from its official site https://nodejs.org/en/Install The NPM Packages
You must have to npm install packages. You can do this by running npm install from the root of your project to install all the necessary dependencies.Run :
npm install
Development Server
Run npm run dev for a dev server.Run :
npm run devThen, in the browser go to http://localhost:3000/
For Production Build
Run npm run build to build the project.Run :
npm run buildThen Run :
npm run start* See the official next.js doc here