REST API Application to maintain a family budget.
Application for budgeting, with the possibility of:
- Create budget lists and share them with other users
- Create budgets
- Sort expenses and receipts in budgets on categories
To use, you need to log in and receive your token. The program is covered with tests and has test fixtures
- Python 3.9
- Django 2.2.6
- Django REST Framework 3.10
- Djoser 2.1.0
- Swagger documentation 1.17.1
- Docker
Docker:
- In the main directory of the project run in command line:
docker-compose up -d
- Run in command line:
docker-compose exec app python manage.py migrate
- To load test data:
docker-compose exec app python manage.py loaddata test_data.json
- To view all API commands, go to the Docs page:
http://127.0.0.1:8000/api/docs/
Local:
- Install and activate the virtual environment
- Install all packages from requirements.txt:
pip install -r requirements.txt
- Run in command line:
python manage.py migrate
- To load test data:
docker-compose exec app python manage.py loaddata test_data.json
- Run server:
python manage.py runserver
- Go to the Docs:
http://127.0.0.1:8000/api/docs/