The Personal Budget A web application to manage your budget.
- Description
- Project objectives
- Technology
- Launch
- How to use
- Source
This project satisfy all the requirements of the Portfolio - Personal Budget I of the Back-End Engineiring path. This was built with node and express, using global.variables to store and retrieve data.
- Build an API using Node.js and Express
- Be able to create, read, update, and delete envelopes
- Be able to create, read, update, delete and make transaction between envelopes.
- Add funtionality to CRUD expenses and produce a Balance.
- Use Git version control to keep track of your work
- Use Postman to test API endpoints
- Document the project using JSDoc and Swagger.
Project is created with:
- ES6 Javascript
- Node.js
- Express.js
- HTML
- CSS
- Swagger
Download the files and extract them in a folder. To run the server, node must be installed. Run 'npm install to install', then 'npm start'.
Once it is intalled run the app locally, API could be accessed at http://localhost:3000/
Swagger documentation and testing available at http://localhost:3000/api/docs
- get all envelopes: GET /env
- createEnvelope: POST /env
- updateEnvelope: PUT /env/:name (envelope name)
- deleteEnvelope: DELETE /env/:name (envelope name)
- Transfer an amount from a specific envelope to another one using POST /transfer?from=:id&to=:id&amount=:amount
- get all expenses: GET /exp
- createExpense: POST /exp
- updateExpense: PUT /exp/:id
- deleteExpense: DELETE /exp/:id
- set Budget: POST /budget
- getBalance: GET /budget
Using Swaager at http://localhost:3000/api/docs you could try all the endpoints to perform CRUD operations.
This project was part of the portfolio challenge from the Codecademy's Back-End path.