initial commit

This commit is contained in:
2026-03-11 17:12:28 +08:00
commit 5d1e1cb7cb
61 changed files with 2971 additions and 0 deletions

44
requirements/base.txt Normal file
View File

@@ -0,0 +1,44 @@
# Core framework
Django>=5.2,<5.3
djangorestframework>=3.16
# CORS for React frontend
django-cors-headers>=4.4
# Authentication
djangorestframework-simplejwt>=5.4
# Filtering
django-filter>=24.2
# API documentation
drf-spectacular==0.28.0
drf-spectacular-sidecar==2026.3.1
# Environment variables
python-dotenv==1.2.2
# Admin Panel integeration
django-unfold==0.76.0
django-import-export==4.4.0
# Database
psycopg[binary]>=3.2
# Logging
django-auditlog==3.4.1
python-json-logger==3.3.0
# Utilities
python-dateutil>=2.9
requests
# Image/file handling
Pillow>=10.3
# background tasks
celery==5.4.0
redis==7.1.0
django-redis==5.4.0
django-celery-beat==2.8.0
flower==2.0.1

24
requirements/dev.txt Normal file
View File

@@ -0,0 +1,24 @@
# Development server improvements
django-extensions>=3.2
# Better shell
ipython>=8.25
# Debug toolbar
django-debug-toolbar>=4.4
# Testing
pytest>=8.2
pytest-django>=4.8
factory-boy>=3.3
# Linting & formatting
black>=24.4
ruff>=0.5
# Type checking
mypy>=1.10
django-stubs>=5.0
# Pre-commit hooks
pre-commit>=3.7

11
requirements/prod.txt Normal file
View File

@@ -0,0 +1,11 @@
# WSGI server
gunicorn>=22.0
# Static files serving
whitenoise>=6.7
# Postgres connection pooling
psycopg-pool>=3.2
# Monitoring
sentry-sdk>=2.8