A Django-based backend service for FlexxyDrive, providing robust API endpoints, authentication, and database management.
- Tochi Nwachukwu - Lead Backend Developer [Python]
- Python 3.12 - Programming Language
- Django - Web Framework
- Django REST Framework (DRF) - API Development
- PostgreSQL - Database
- Docker - Containerization
- AWS ECS - Container Orchestration
- AWS Secrets Manager - Secure Configuration Management
- Gunicorn - WSGI Server
Ensure you have the following installed:
- Python 3.12
- Docker & Docker Compose
- PostgreSQL (if running locally)
git clone https://github.com/your-repo/flexxydrive-backend.git
cd flexxydrive-backendCreate a .env file in the project root and add the following:
SECRET_KEY=your-secret-key
DEBUG=1
DJANGO_ALLOWED_HOSTS=*
DATABASE_ENGINE=
DATABASE_NAME=
DATABASE_USERNAME=
DATABASE_PASSWORD=
DATABASE_HOST=
DATABASE_PORT=pip install -r requirements.txtpython manage.py migratepython manage.py runserverdocker-compose up --build -ddocker-compose downThe API endpoints are documented using Swagger. Access it at:
http://127.0.0.1:8000/swagger/
- Push Docker Image to ECR
- Deploy on AWS ECS with Fargate
- Use AWS Secrets Manager for Database Configuration
This project is licensed under the MIT License.