Simple Node/Express API to manage a portfolio budget using a budget envelope strategy. Users can create, read, update, and delete envelopes.
To run locally, run npm install
, then npm run start
Once the app is running locally, you can access the API at http://localhost:5000/
Swagger documentation and testing available at http://localhost:5000/api-docs
To test with Swagger:
- Retrieve envelopes using
GET /api/v1/envelopes
- Retrieve a single envelope using
GET /api/v1/envelopes/{id}
- Create an envelope using
POST /api/v1/envelopes
- Update an envelope using
PUT /api/v1/envelope/{id}
- Delete an envelope using
DELETE /api/v1/envelope/{id}
- Transfer money between envelopes using
POST /api/v1/envelope/{fromId}/transfer/{toId}