Skip to content

Govindvr/bill-splitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bill-splitter

Python version used : 3.10.6

Installation

First clone this repo Create a venv and activate it(optional) To install the required packages

pip  install -r requirements.txt

Run

To update database

python manage.py makemigrations
python manage.py migrate

To Run the app

python manage.py runserver

The app will be availiable on http://localhost:8000/

Demo Video

https://www.loom.com/share/0f9b3c18c272450b93f048d0f3b1d6a1

Usage

A bill-splitting app where users can split bills among other users. The application have features like

·Users can sign up/sign in.

· A user can Add/Delete/Update bills split against another user(s).

· A user can form groups and split bills among group members as a whole or selectively.

· The bill being split could be based on a percentage/specific amount.

· There would be a summary screen which lists the amount the user owes to everyone based on the bill-splitting activity till now. Users can settle bills, and this would start over again.



Solutions and Choices made

· The application is built using Django and Django Rest Framework.

· The frontend is built using HTML, CSS, Bootstrap and Javascript.

. The database used is Postgres.

Database Design

The database consists of 6 models:

Group: This model represents a group and has a name, owner, members, and date_created field.

GroupMember: This model represents a group member and has a group, member, and date_joined field.

Bill: This model represents a bill and has a group, bill_name, bill_amount, bill_date, bill_owner, is_active, and bill_participants field.

BillParticipant: This model represents a bill participant and has a bill, participant, amount, and paid field.

Profile: This model represents a user's profile and has a user and image field.

About

A bill-splitting app where users can split bills among other users.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published