A RESTful API for market surveys. The mock data is housed remotely by an mLab sandbox.
- NodeJS & NPM
- MongoDB
- Download the repo:
git clone https://github.com/callum-messiter/market-survey-api.git
cd market-survey-api
- Install project dependencies:
npm install
- Run the application:
npm start
Fetch all surveys from the database:
https://localhost:3000/api/surveys/all
For API instructions, see https://localhost:3000/