This is a simple expense tracking application implented with Python and Flask using MongoDB Database.
Client: HTML, JS, CSS
Server: Python, Flask
Database: MongoDB
Clone the project
git clone git@github.com:MatanP12/expense-app.gitGo to the project directory
cd expense-appInstall dependencies
pip Install -r requirments.txtStart the server
python src/app.pyOr use docker to run the application
docker-compose up GET /expenses
POST /expenses
| Parameter | Type | Description |
|---|---|---|
product |
string |
Required. The product's name |
price |
float |
Required. the product's price |
GET /expenses/${id}
| Parameter | Type | Description |
|---|---|---|
id |
string |
Required. Id of expense to fetch |
PUT /expenses/${id}
| Parameter | Type | Description |
|---|---|---|
id |
string |
Required. Id of expense to update |
| Parameter | Type | Description |
|---|---|---|
product |
string |
Required. The product's name |
price |
float |
Required. the product's price |
DELETE /expenses/${id}
| Parameter | Type | Description |
|---|---|---|
id |
string |
Required. Id of expense to delete |

