For linux environment:
-
Before you begin installing make sure you run
sudo apt update
to get the latest version available.sudo apt update
-
Install node.js and npm. For details/query click here.
sudo apt install nodejs sudo apt install npm
-
Install MongoDB. For details/query click here.
sudo apt install -y mongodb
For windows environment:
-
Install node.js and npm from official website. For help refer this video.
-
Install MongoDB. For details/query refer:
Install js dependencies using npm.
npm install
Create a duplicate file of .env.default
as .env
.
-
Start
MongoDB
servermonogd
-
Import
users.json
to database. For help/query refer.mongoimport --db apar --collection users --file .\users.json
-
Start
MongoDB
servermongod
-
Start local development server.
If windows:
npm start
If linux:
npm start2