An API to manage expenses for startup company builders like XCNT
https://cashcog.herokuapp.com/
- NPM
- Node/Express
- MongoDB
Clone the repo
- $ https://github.com/Kasulejoseph/fast-food-fast-db.git
- $ cd cashcog-be
- $ npm install
- $ npm run start
- mongod --config /usr/local/etc/mongod.conf
End Point | Description | Method | Requirements |
---|---|---|---|
/ | Fetch all expenses | GET | |
/users/:employee_uuid | Fetch User Expenses | GET | |
/:expense_uuid | Update expenses[declined, approved]. | PATCH | status |
/?status=approved$amount... | Query/Filter expenses. | GET | |
/?sort=amount:asc | sort expenses [amount, created_at] | GET | |
/analysis | Fetches data used for Quantitative analysis. | GET |
MIT Copyright © 2019, Kasule Joseph. All rights reserved.