Skip to content

MatanP12/expense-app

Repository files navigation

Expense app

This is a simple expense tracking application implented with Python and Flask using MongoDB Database.

Tech Stack

Client: HTML, JS, CSS

Server: Python, Flask

Database: MongoDB

Run Locally

Clone the project

  git clone git@github.com:MatanP12/expense-app.git

Go to the project directory

  cd expense-app

Install dependencies

  pip Install -r requirments.txt

Start the server

  python src/app.py

Or use docker to run the application

  docker-compose up

API Reference

Get all expenses

  GET /expenses

Create new expense

  POST /expenses
Request Body:
Parameter Type Description
product string Required. The product's name
price float Required. the product's price

Get expense

  GET /expenses/${id}
Parameter Type Description
id string Required. Id of expense to fetch

Update expense

  PUT /expenses/${id}
Parameter Type Description
id string Required. Id of expense to update
Request Body:
Parameter Type Description
product string Required. The product's name
price float Required. the product's price

Delete expense

  DELETE /expenses/${id}
Parameter Type Description
id string Required. Id of expense to delete

3 Tier application

3-Tier application Drawing

CI- Pipeline

CI-Pipeline Drawing

About

A minimal Exepnse appplication written in Python and Flask

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors