A modern, scalable, multi-language-ready Django backend for a blog system with production-ready Docker setup.
yadlog-backend/
├── Dockerfile
├── docker-compose.yml
├── docker-compose.staging.yml
├── docker-compose.prod.yml
├── requirements/
│ ├── base.txt
│ ├── development.txt
│ └── production.txt
├── scripts/
│ ├── entrypoint.sh
│ ├── entrypoint.prod.sh
│ └── entrypoint.staging.sh
├── src/
│ ├── manage.py
│ ├── yadlog/ # Django project
│ │ ├── settings/
│ │ └── locale/
│ └── apps/
│ └── posts/ # Blog app
└── staticfiles/
docker-compose down -v
docker-compose up --build- App: http://localhost:8001
- Admin: http://localhost:8001/admin/
- Default superuser: admin / admin (if
CREATE_SUPERUSER=true)
- Models: Post, Category, Tag
- Multi-language support via
django-modeltranslation - Auto-generated translated slugs (with
TranslatedSlugMixin) - Tag & Category system
- MPTT support for nested categories
- Python 3.11
- Django 5+
- PostgreSQL
- Gunicorn + Nginx (in production)
- Docker / Docker Compose
- Static/media management with volumes
docker-compose.yml→ Developmentdocker-compose.staging.yml→ Stagingdocker-compose.prod.yml→ Production
- Python interpreter from Docker
src/marked as Sources Root (for clean imports likefrom apps.posts...)- PyCharm Docker integration enabled
docker-compose -f docker-compose.prod.yml up --buildOr staging:
docker-compose -f docker-compose.staging.yml up --buildcd frontend npm install npm run watch
npm run build