Skip to content

cuongnbms/cookiecutter-django-drf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

138 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cookiecutter-django-drf

Powered by Cookiecutter. A boilerplate for jumpstarting RESTful API projects with Django and Django REST Framework.

Introduction

This template generates a Django + DRF project with a sane structure and configuration: split settings, JWT auth, django-filter, a custom exception handler, OpenAPI docs, and tooling managed by mise and uv.

Features

  • Django 6.x, Django REST Framework 3.17
  • Python 3.12+
  • JWT authentication via djangorestframework-simplejwt
  • Filtering via django-filter
  • OpenAPI schema + Swagger/Redoc via drf-spectacular
  • Versioned API under api/v1/
  • mise tasks + uv for dependency management
  • Dockerfile included

Options

Configurable via cookiecutter.json:

  • use_dramatiq (default y) — Dramatiq task queue with Redis
  • use_postgres (default n) — PostgreSQL instead of SQLite
  • use_whitenoise (default y) — static file serving via WhiteNoise

Usage

cookiecutter https://github.com/cuongnb14/cookiecutter-django-drf.git

See the generated project's README.md for how to install and run it.

About

Cookiecutter Django DRF is a framework for jumpstarting projects quickly.

Topics

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors