DEV Community

Cover image for Production-Ready Django REST API Template with Full Github Actions CI/CD
Aidos Kanapyanov
Aidos Kanapyanov

Posted on

Production-Ready Django REST API Template with Full Github Actions CI/CD

Hi everyone! ๐Ÿ‘‹

Iโ€™ve built a production-ready Django REST API template using cookiecutter-django, designed to tackle the challenge of finding a project that fully embraces modern best practices. My project comes with:

  • ๐Ÿ› ๏ธ Testing & linting: pytest, coverage (badge, gh artifacts) and more.
  • ๐Ÿš€ Deployments: Fully automated on DigitalOcean VPS with Docker Swarm.
  • ๐Ÿ”’ Zero-downtime SSL: Automatic SSL certs via Traefik & ACME.
  • ๐Ÿ“ฆ Automated changelogs: Conventional commits + SemVer generate release notes.
  • ๐Ÿ”„ Rolling updates & rollbacks: Managed by Docker Swarm.
  • ๐Ÿ“œ API docs: drf-spectacular auto-generates OpenAPI 3.0 docs & Swagger UI.

Iโ€™m excited to share this with the community and would love to hear your feedback. Check out the project here https://github.com/aidoskanapyanov/fuel-tracker-rest-api-django.

Happy coding!

Top comments (0)