There are 2 nodejs applications in this repository.
- Please read readme files of both the Loader and Server applications.
- Set a valid value for
MONGO_URL
inserver/devrun.sh
fileloader/devrun.sh
files - From the
server
directory, install dependencies and start the servernpm i && sh devrun.sh
- The API server will run on port 3000 by default (example: http://localhost:3000/api/all/stats)
- From the
loader
directory, install dependencies and load example datanpm i && sh devrun.sh
- If the loading process ran successfully, example data will be available on the server
- NodeJS v6
- MongoDB v3.2