Initial commit: React + Django full-stack project setup
- Backend: Django 4.2 + DRF + JWT + GraphQL - Frontend: React 18 + MobX + styled-components - Deployment: Docker + Docker Compose + Nginx - Database: PostgreSQL support - Documentation: README, INIT, PROJECT_DOCS, TESTING
This commit is contained in:
19
backend/config/settings/dev.py
Normal file
19
backend/config/settings/dev.py
Normal file
@@ -0,0 +1,19 @@
|
||||
"""
|
||||
Development settings for the project.
|
||||
"""
|
||||
|
||||
from .base import *
|
||||
|
||||
DEBUG = True
|
||||
|
||||
ALLOWED_HOSTS = ['localhost', '127.0.0.1', '0.0.0.0']
|
||||
|
||||
CORS_ALLOW_ALL_ORIGINS = True
|
||||
|
||||
# Email backend (console for development)
|
||||
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
|
||||
|
||||
# Additional apps for development
|
||||
INSTALLED_APPS += [
|
||||
'django_extensions',
|
||||
]
|
||||
Reference in New Issue
Block a user