Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ritikprajapat21/daily-expense-sharing-django-backend
A django backend created for daily expense sharing
https://github.com/ritikprajapat21/daily-expense-sharing-django-backend
Last synced: 13 days ago
JSON representation
A django backend created for daily expense sharing
- Host: GitHub
- URL: https://github.com/ritikprajapat21/daily-expense-sharing-django-backend
- Owner: ritikprajapat21
- Created: 2024-07-30T17:32:46.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-07-31T13:45:50.000Z (5 months ago)
- Last Synced: 2024-07-31T22:51:07.704Z (5 months ago)
- Language: Python
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Daily Expense Sharing: Django
A backend created for Daily Expense Sharing. Using this, user can create an expense and can split with existing user using this application.
- User can register themselves using name, email and phone number.
- User can retrive their details
- User can add expenses.
- User can retrive individual expense detail.
- User can retrive their expenses.
- User can also retrieve their overall expenses.
- User can split expense using three methods:
- Equal: User can split equally among all participants.
- Exact: User can specify the exact amount each participant owes.
- Percentage: User can specify the percentage each participant owes.# Local setup:
Clone the repo
```
git clone [email protected]:ritikprajapat21/daily-expense-sharing-django-backend.git expensecd expense
pip install -r requirement.txt
```
Before running, migrate the models:
```
python manage.py makemigrations
python manage.py migrate
```To run the application:
```
python manage.py runserver
```# Sample Screenshots
Add user demo:
![User add sample](https://github.com/user-attachments/assets/55bf18ef-eb65-409b-a44f-178d57807efe)
Get user details demo:
![Get user details](https://github.com/user-attachments/assets/ab94d3ab-cbca-4828-ab49-5816b37b0e72)
Create expense demo:
![Create user expense](https://github.com/user-attachments/assets/2c884c46-1220-417a-87b5-138d74069d55)
Get all created expenses demo:
![Get all the created expenses](https://github.com/user-attachments/assets/3e348bce-31aa-440d-8216-5c6ac3671533)
Get details of an expense by id demo:
![Get details of an expense by id](https://github.com/user-attachments/assets/79fffa95-f612-4b99-96c9-177a960f31cb)
Create a split demo:
![image](https://github.com/user-attachments/assets/ef3efe1c-cf98-4cc9-bff7-cc5115642361)
Get overall expense details:
![image](https://github.com/user-attachments/assets/20015918-744e-498a-8ca8-9eea35370aed)