Код backend находится в django_around/around.
manage.py - Django CLI.around/settings.py - настройки проекта.around/urls.py - URL routing.start.sh - dev/start command в compose.start_prod.sh - production start command.start_celery_worker.sh - Celery worker.start_celery_beat.sh - Celery beat.Основной API prefix: /api/v1/.
Auth endpoints:
POST /api/v1/auth/registerPOST /api/v1/auth/loginPOST /api/v1/auth/verify-codePOST /api/v1/auth/resend-otpPOST /api/v1/auth/refreshPOST /api/v1/auth/logoutGET /api/v1/auth/users/me/Schema:
GET /api/schema/GET /api/v1/schema/swagger-ui/GET /api/v1/schema/redoc/Команда для заполнения локальной БД демо-данными:
python manage.py seed_demo_data
В Docker:
docker compose exec around_back python manage.py seed_demo_data
Команда создает двух демо-пользователей, profile/address/calendar, job sheet, job item and job orders covering every event and internal order status.
message.access, refresh, token_type, user.Media storage работает в двух режимах:
MEDIA_ROOT.AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_STORAGE_BUCKET_NAME, AWS_S3_ENDPOINT_URL.Static files в production сохраняются в Docker volume static_data.