- Install Node.js (version 10). Link: https://nodejs.org/dist/latest-v10.x/
- Install MongoDb. Link: https://docs.mongodb.com/manual/tutorial/install-mongodb-on-windows/ , Setup Video link: https://www.youtube.com/watch?v=FwMwO8pXfq0&feature=youtu.be
- Install MongoDb Compass (GUI for mongodb). Link:https://www.mongodb.com/try/download/compass (Choose Tools>MongoDb Compass).
- To see if the node is installed properly type:
node -v
. If its showing the version no., then its correctly installed. - Open the project directory in command prompt and type:
npm i
. This will install all the dependencies/packages. - Now type:
node app.js
. if everything is setup correct, it will show:
Server started on 5000
MongoDB connected...
- Open browser an type the url:
localhost:5000
. You will see the welcome page. - Now go to Register, Give the necessary info and register. Now register another user (we are going to make this admin later).