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)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more