This is a practice Back-end Engineer project. For this project, I built an API that allows clients to create and manage a personal budget. The source code is available at (https://github.com/VincentNguyenDuc/PersonalBudget)
In order to run the program, you need to install Node.js and set up PostgreSQL database on your computer:
/app/database/database_snippets.sql
node server.js
Once you have the server up and running, the following end points will be reachable in http://localhost:4001/
:
GET
/api/users
- returns all users/api/users/:id
- returns user by id/api/envelope/:id
- returns envelope by idPOST
/api/users/new
- creates new user from the data in body of requestPUT
/api/users/info/:id
- updates user info/api/envelope/update/:id
- updates envelopeDELETE
/api/users/delete/:id
- delete user’s information and envelopeThe project’s UI and UX are currently under development.