Restful API for a cash management system using Django and Django Rest Framework. The system allow users to manage their cash flow by creating and updating transactions, tracking balances, and generating reports.
-
Clone the project repository:
git clone https://github.com/MohammadMahdi-Akhondi/cash_management cd cash_management
-
Setup virtual environment
virtualenv .venv source .venv/bin/activate
-
Install dependencies
-
for development(recommended):
pip install -r requirements_dev.txt
-
for production:
pip install -r requirements.txt
-
-
Build and launch the Docker environment
-
for development(recommended):
docker compose -f docker-compose.dev.yml up -d --build
-
for production:
docker compose up -d --build
-
-
Run project for development stage:
python manage.py runserver
coverage run -m pytest
coverage report