How jayjaychukwu/expense-tracker-api works
Project type and purpose
• This is a Django-based RESTful API (backend-only) for an expense-tracking application.
• It exposes endpoints for user authentication, expense management, income tracking, and user statistics.
File structure
Top-level:
• expense_project/ – the Django project root (settings.py, URLs, ASGI/WSGI)
• manage.py – Django CLI entry point
• db.sqlite3 – development database
• requirements.txt, runtime.txt – dependency/runtime specs
• .circleci/config.yml – CI/CD pipeline configuration
Django apps (each encapsulates one domain):
• authentication/ – signup, login, token/session management
• expenses/ – create/read/update/delete expense records
• income/ – create/read/update/delete income records
• userstats/ – aggregated user metrics (e.g., monthly spend)
• utils/ – shared exception handlers and view mixins
Each app follows the Django‐REST‐Framework pattern:
• models.py – data schema (ORM)
• serializers.py – request/response validation & formatting
• views.py – API view logic
• urls.py – routing to views
• tests/ – unit and integration tests
• migrations/ – DB schema versioning
README
• Minimal README (just the project name).