The DiDoo.com project contains frontend, backend and database.
Go to your project root folder via command line
cd path/to/workspace/DiDoo.com
Install node dependencies
Open command shell in backend and frontend folders and run: npm install
Set up your database
- Create a new directory where your database will be stored (it's a good idea to separate data and business logic - the data directory should be on a different place than your app)
- Start the database server
mongod --dbpath relative/path/to/database
OR if you have already set the path just run
mongod
- Create all database schemes and import data to begin with
Open command shell in the backend folder and run: mongorestore dump/
- Start mongodb with
mongod
- Go to backend folder in the project files and run
npm start
- Go to frontend folder and run
npm start