- Install Visual Studio Code. (https://visualstudio.microsoft.com/pl/?rr=https%3A%2F%2Fwww.google.com%2F)
- Install node.js (https://nodejs.org/en/)
- Install MongoDB and MongoDB Compass. (https://www.mongodb.com)
- Add MongoDB folder to the Path Environment Variable. Example for windows: (https://dangphongvanthanh.wordpress.com/2017/06/12/add-mongos-bin-folder-to-the-path-environment-variable/)
- In terminal, run server:
mongod
- Run Compass and connect to database.
- Download or clone this repository, and open it in VS Code.
https://github.com/BinaryWorlds/HomeBudget-GroupProject.git
- In VS terminal:
npm install
cd client
npm install
cd..
cd backend
npm install
- Multiple run(in the main directory):
npm start
OR:
Start backend:
cd backend
node server.js
Start frontend:
cd client
npm start