This is the backend repository for the Finager finance project, built with Django and Django REST Framework.
The frontend for this project can be found in the following repository: [https://github.com/Winstonjames2/expense_tracker_flutter]
- 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.
- Framework: Django
- API: Django REST Framework (DRF)
- Database: SQLite (Development)
- Cloud Storage: Cloudinary (for media files)
-
Clone the repository:
git clone https://github.com/Winstonjames2/expense_tracker_backend_django cd expense_tracker_backend_django -
Create and activate a virtual environment:
python -m venv .venv # Windows .\.venv\Scripts\activate # Linux/Mac source .venv/bin/activate
-
Install dependencies:
pip install -r requirements.txt
-
Environment Setup: Create a
.envfile in the root directory (same level asmanage.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
-
Run Migrations:
python manage.py migrate
-
Start the Server:
python manage.py runserver
For any inquiries or issues, please contact the author: Email: [email protected]
This project is licensed under the MIT License. See the LICENSE file for more details.