For linux environment:
-
Before you begin installing make sure you run
sudo apt updateto 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
MongoDBservermonogd -
Import
users.jsonto database. For help/query refer.mongoimport --db apar --collection users --file .\users.json
-
Start
MongoDBservermongod -
Start local development server.
If windows:
npm startIf linux:
npm start2