This project is a Django-based backend providing a RESTful API using the Django REST Framework (DRF).
- RESTful API with Django REST Framework
- Token-based Authentication (JWT / Session / Customizable)
- PostgreSQL / SQLite (configurable)
- CORS support for frontend integration
- Modular structure for apps
Make sure you have the following installed:
- Python 3.8+
- pip / pipenv / poetry
- Git
https://github.com/Talai-Next/backend.git
python -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`
pip install -r requirements.txt
Create a .env
file in the project root (if used), or update settings.py
for:
DATABASE_URL=your-database-url
DJANGO_SECRET_KEY=your-secret-key
python manage.py migrate
python manage.py runserver
Your API will be available at: http://localhost:8000/
├── api/
│ ├── migrations/
│ ├── serializers/
│ ├── tests/
│ ├── views/
│ └── urls.py
├── backend/
│ ├── settings.py
│ ├── urls.py
├── manage.py
├── requirements.txt
├── .gitignore
└── .env
python manage.py runserver # Start dev server
python manage.py makemigrations # Create migrations
python manage.py migrate # Apply migrations
python manage.py createsuperuser # Create admin user
This project is licensed under the MIT License.