/ridesharing-api

Demo API for ridesharing app

Primary LanguageJavaScriptMIT LicenseMIT

ridesharing-api

Demo API for ridesharing app

Requirements


We will need nodejs, npm(comes bundled with nodejs) and mongodb. Before Setting up we will need these node packages:

  1. express
  2. mongoose

Setting Up and Testing


After installing the above, to start mongodb server, run mongod. To use mongodb command line use mongo --host 127.0.0.1:27017. Start the application using : npm start

End Points:


These are the working endpoints: