-
Install mongo db if not already installed
https://docs.mongodb.com/manual/installation/
-
Create a data directory if not already created, for example in ubuntu
$ mkdir -p /data/db
-
Start Mongo DB by running following command
mongod
-
Select or Create new database
use "databaseName"
-
Clone or download this repository
-
Inside the root folder of repository run npm install
-
Update .env file to update mongo db connection (I kept .env out gitignore for convenience only)
-
Once npm install finished run npm start (to start server)
-
Navigate to root folder of repository and run
cd client
-
Inside client folder run npm install
-
Once npm install finished run npm start (to start client)
-
By Default you will see app is running on http://localhost:3000/