Create group with your friends and split bills without any hassle.
You can test the live API here.
⚡️ Add users/members to the application (CURD)
⚡️ Create groups and add new members to the group (CRUD)
⚡️ Add expenses in the group and let the application handle all the spliting
.
├── Procfile
├── README.md
├── app.py
├── application
│ ├── __init__.py
│ ├── config
│ │ └── __init__.py
│ ├── controllers
│ │ ├── expense.py
│ │ ├── group.py
│ │ ├── simplify.py
│ │ ├── transaction.py
│ │ └── user.py
│ └── models
│ ├── expense.py
│ ├── group.py
│ ├── transaction.py
│ ├── user.py
│ └── user_group.py
├── practice.py
├── requirements.txt
├── runtime.txt
└── wsgi.py
Entry point is app.py. All the models are being stored in models. All the routes are structured in controllers.
Step 1: Install all the dependencies.
pip install -r requirements.txt
Step 2: Run the server. (Make sure .env is already has all the required environment variables)
python app.py
This is a Flask backend application hosted on Heroku.
The wsgi.py contains the direct run code for the application. It is being executed by gunicorn in Procfile. Heroku directly executes Procfile and starts the server.
This API has also been documented at Postman. You can test it here.