install Node.js, this project use version V10.15.0
install MongoDB
git clone https://github.com/brendasy/Expense-tracker.git
cd Expense-tracker/
npm install
cd Expense-tracker/
npm install -g nodemon
cd Expense-tracker/models/seeds
npm run seeder
Now you can check MongoDB if there are 2 users in users collection and 10 records(6 for one and 4 for the other) data in records collection under record database.
If there are data in record dbs, then you could go on the next step.
cd Expense-tracker/
npm run dev
> nodemon app.js
[nodemon] 2.0.2
[nodemon] to restart at any time, enter `rs`
[nodemon] watching dir(s): *.*
[nodemon] watching extensions: js,mjs,json
[nodemon] starting `node app.js`
Express is listening on localhost:3000
mongodb connected!
Enter the URL http://localhost:3000 at browser
- nvm-windows - Node.js environment for windows OS
- nvm - Node.js environment for Linux / Mac OS
- cmder - Used to type cmd in windows OS
- MongoDB - Database server
- Brenda