Skip to content

Winstonjames2/expense_tracker_backend_django

Repository files navigation

Finager Backend

This is the backend repository for the Finager finance project, built with Django and Django REST Framework.

Frontend

The frontend for this project can be found in the following repository: [https://github.com/Winstonjames2/expense_tracker_flutter]

Features

  • Authentication: JWT-based authentication using djangorestframework-simplejwt.
  • Transactions: Manage financial transactions.
  • Truck Dispatch: Logistics and dispatch management.
  • User Profiles: Custom user profile management.
  • Multi-language Support: Translation capabilities.
  • Payment & Categories: Manage payment methods and transaction categories.

Tech Stack

  • Framework: Django
  • API: Django REST Framework (DRF)
  • Database: SQLite (Development)
  • Cloud Storage: Cloudinary (for media files)

Installation

  1. Clone the repository:

    git clone https://github.com/Winstonjames2/expense_tracker_backend_django
    cd expense_tracker_backend_django
  2. Create and activate a virtual environment:

    python -m venv .venv
    # Windows
    .\.venv\Scripts\activate
    # Linux/Mac
    source .venv/bin/activate
  3. Install dependencies:

    pip install -r requirements.txt
  4. Environment Setup: Create a .env file in the root directory (same level as manage.py) and add the following variables:

    DJANGO_SECRET_KEY=your_secret_key
    DEBUG=True
    ALLOWED_HOSTS=127.0.0.1,localhost
    CLOUD_NAME=your_cloudinary_name
    CLOUD_API_KEY=your_cloudinary_api_key
    CLOUD_API_SECRET=your_cloudinary_api_secret
  5. Run Migrations:

    python manage.py migrate
  6. Start the Server:

    python manage.py runserver

Contact

For any inquiries or issues, please contact the author: Email: [email protected]

License

This project is licensed under the MIT License. See the LICENSE file for more details.

About

Django Backend for Expense Tracker.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages