Code for my blog post on How to Build Your Own Uber-for-X App
cd
to your project root and run npm install
mongoimport --db uberForX --collection cops --drop --file ./db/cops.json
to import sample cop information in MongoDBmongoimport --db uberForX --collection requests --drop --file ./db/crime-data.json
to import sample crime information in MongoDBnode app.js
in your project root folder