A simple Bill Tracker built using DRF and React
Table of Contents
A Bill Tracker site, where a user can add/update/delete his/her bills. The project is an example of a simple full-stack web-app built using Django REST Framework as backend framework and React as frontend framework.
Frameworks used in the project:
To setup the project locally, follow the given steps
Following software need to be installed in the system:
- git
- python
- pip
- virtual environment
- github-cli (optional)
- node
- Clone the repo by
or (if github-cli is installed)
git clone https://github.com/SubhradeepSS/Bill-Tracker.git
gh repo clone SubhradeepSS/Bill-Tracker
- Open the project in any source code editor.
- Navigate to the
backend
folder. - Activate python virtual environment. (see here for reference)
- Inside the virtual environment, run
pip install -r requirements.txt
- Navigate to the
frontend
folder and run the following command in clinpm install
- For activating backend, navigate to the
backend
directory and run the following commands:
python manage.py makemigrations
python manage.py migrate
python manage.py runserver
- For running the frontend, navigate to the
frontend
folder and run:npm start
- Open http://localhost:3000/ if already not opened.
The site consists of a single page where the already added bills are shown and a form is there for the user to add a new bill or update an exisiting bill(using bill_no).