- Remove data files inside
server/data
- Run mongod
cd server
./mongod
- Add fixtures (generate test data)
cd scripts
node create.js
Ctrl+C to exit
- Verify test data
node read.js
Ctrl+C to exit
- Run the server at
server/index.js
. In Cloud9, open the file and click run.