npm install
node seed.js
Go through each of the files under /examples
and run them at the command line using node
.
node examples/00_basics.js
Go to routes/index.js
and extract all unirest and mongo calls to a separate file named lib/data.js
.
So at the end, you should not have any calls to monk
or unirest
inside routes/index.js
Add functionality to the cities show page so that after it finds the city, it makes an API call and displays the results on the page.