Installation

Installation prerequisites:

  1. Install Node.js and NPM: Download Node.js from official website and install it on your system. NPM comes bundled with Node.js.

  2. Install NPM packages: Once you install node on your system, open terminal or command prompt on your system, go to your project root directory & run the following command, it will download all the dependencies under node_modules folder. Please wait for it to finish.

npm install

Before starting development server please make sure you have copied all the project files including hidden files too like .babelrc and .eslintrc

Running development server:

Run following command to run dev server, wait for it to finish and once it finishes access http://localhost:3000/ to run your app/project on browser. The app will automatically reload if you make any changes in any of the source file.

npm start

Production building:

Run following command to build the project and wait for it to finish. The build will be stored in the build/ directory.

npm run build

Last updated