{"repo":"thehimel/django-rest-framework-starter-template","free":true,"listed":false,"github":"https://github.com/thehimel/django-rest-framework-starter-template","clone":"git clone https://github.com/thehimel/django-rest-framework-starter-template.git","description":"A production-ready Django REST Framework starter template with JWT authentication, CORS configuration, API documentation, and environment-based settings. Perfect for quickly bootstrapping REST APIs.","language":"Python","stars":48,"topics":["api","authentication","backend","black","boilerplate","cors","django","django-rest-framework","drf","drf-yasg"],"license":null,"category":"saas-starters-boilerplates","readme_excerpt":"Django REST Framework Starter Template A production-ready Django REST Framework starter template with JWT authentication, CORS configuration, API documentation, and environment-based settings. Features - Django REST Framework with JWT authentication - CORS configured for frontend communication - API Documentation with Swagger/ReDoc (drf-yasg) - Environment-based configuration (Development/Production) - Database support (SQLite for dev, PostgreSQL/MySQL via DATABASE URL for production) - Security headers and best practices - Structured app organization with apps/ directory - Code quality tools : Black, isort, and pre-commit hooks - Testing : Django test framework with coverage reporting Quick Start Initial Setup 1. Clone the repository 2. Run initialization script This will: - Upgrade pip and install dependencies - Install pre-commit hooks - Run database migrations 3. Format existing code (first time setup) 4. Start the development server 5. Access the application - Landing page: http://localhost:8000/ - API docs: http://localhost:8000/swagger/ (in DEBUG mode) - Admin: http://localhost:8000/admin/ Project Structure Configuration The project uses environment variables for configuration. Copy .env.template to .env and update the values: - SECRET KEY : Django secret key - ENVIRONMENT : DEV , PROD , or DEV REMOTE — controls which constants are loaded. DEV and PROD use core/constants/dev.py or core/constants/prod.py . DEV REMOTE uses dev constants (DEBUG, CORS, etc.) but sets the d","default_branch":null,"files":null,"tree":[],"storefront":"/r/thehimel","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/thehimel/django-rest-framework-starter-template/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}