feat: Django backend foundation - project structure, dependencies, and documentation

- Created Django 4.2 project with production-ready architecture
- Installed 60+ packages including django-ninja, celery, channels, etc.
- Set up app structure (core, entities, moderation, users, versioning, media, notifications)
- Created comprehensive MIGRATION_PLAN.md with 12-phase roadmap
- Created README.md with setup instructions
- Created .env.example with all required configuration
- Configured for Python 3.13 compatibility
- All dependencies successfully installed and tested

Next steps: Configure Django settings and create base models
This commit is contained in:
pacnpal
2025-11-08 11:25:58 -05:00
parent 423911fc4a
commit 5b8679237a
12 changed files with 1180 additions and 0 deletions

View File

@@ -0,0 +1,64 @@
# Core Django
Django==4.2.8
psycopg[binary]==3.2.3
# API Framework (django-ninja for FastAPI-style performance)
django-ninja==1.1.0
pydantic==2.10.6
# Database & ORM utilities
django-model-utils==4.3.1
django-guardian==2.4.0
django-lifecycle==1.0.0
django-fsm==2.8.1
django-dirtyfields==1.9.2
# Async & Background Tasks
celery[redis]==5.3.4
django-celery-beat==2.5.0
django-celery-results==2.5.1
flower==2.0.1
# Caching & Performance
django-redis==5.4.0
django-cacheops==7.0.2
hiredis==2.3.2
# Real-time
channels==4.0.0
channels-redis==4.1.0
daphne==4.0.0
# Media & Storage
django-storages[s3]==1.14.2
Pillow==11.0.0
python-magic==0.4.27
# Security
django-cors-headers==4.3.1
django-ratelimit==4.1.0
django-otp==1.3.0
django-allauth==0.58.2
djangorestframework-simplejwt==5.3.1
django-defender==0.9.7
# Validation & Serialization
marshmallow==3.20.1
# Utilities
django-extensions==3.2.3
django-environ==0.11.2
django-filter==23.5
python-slugify==8.0.1
python-dateutil==2.8.2
# Monitoring & Logging
sentry-sdk==1.39.1
structlog==23.2.0
# HTTP & External APIs
requests==2.31.0
httpx==0.25.2
# UUID utilities
shortuuid==1.0.11

View File

@@ -0,0 +1,23 @@
-r base.txt
# Development & Debugging
django-debug-toolbar==4.2.0
django-silk==5.0.4
ipython==8.18.1
ipdb==0.13.13
# Testing
pytest==7.4.3
pytest-django==4.7.0
pytest-cov==4.1.0
pytest-xdist==3.5.0
factory-boy==3.3.0
Faker==20.1.0
coverage==7.3.3
# Code Quality
black==23.12.1
flake8==6.1.0
isort==5.13.2
mypy==1.7.1
django-stubs==4.2.7

View File

@@ -0,0 +1,11 @@
-r base.txt
# Production Web Server
gunicorn==21.2.0
whitenoise==6.6.0
# Production monitoring
django-prometheus==2.3.1
# Security
cryptography==41.0.7