Financeapi Node
A RESTful CRUD API for finance data. Boilerplate generated by generator-rest. Tested using node v6.
Quick Start
npm i && npm install -g newmanYou'll need MongoDB running, there's a prebuilt version included in the project but if you want it running as a service in the background you can follow the instuctions here
Run the API with npm run dev and run the integration tests in the seperate terminal with npm test
Commands
After you generate your project, these commands are available in package.json.
npm test # run the API in test mode
npm run lint # lint using ESLint
npm run dev # run the API in development mode
npm run prod # run the API in production modePlaying locally
First, you will need to install and run MongoDB in another terminal instance.
$ mongodThen, run the server in development mode.
$ npm run dev
Express server listening on http://0.0.0.0:9000, in development mode