This Django backend provides a robust API with full JWT authentication, ready to power your Next.js frontend.
- Django 5.0
- Django REST Framework
- JWT Authentication
- PostgreSQL Database (in development)
- Docker support (in development)
- Python 3.11+
- Poetry
-
Install Dependencies:
poetry install
-
Activate the virtual environment:
poetry shell
-
Set up environment variables:
- Copy
.env.example
to.env.local
- Update the variables in
.env.local
- Copy
-
Run migrations:
python manage.py migrate
-
Start the server:
python manage.py runserver
-
API Documentation:
- Visit http://127.0.0.1:8000/api/docs/ to explore the API documentation.
- Running tests: [To be added]
- Code linting: [To be added]
- Deployment instructions will be added soon.
Contributions are welcome! Please feel free to submit a Pull Request.