/simple-drf-starter

A simple template or starter for DRF(Django Rest Framework).

Primary LanguagePythonMIT LicenseMIT

Simple-DRF-Starter

A comprehensive template for Django Rest Framework (DRF) projects.

English badge 简体中文 badge
Built with Cookiecutter Django Black code style

License: MIT

Purpose

This project aims to provide a robust and maintainable project structure for beginners in Django and DRF. It is designed based on the directory structure and libraries used by several renowned projects, and plans to use cookiecutter for easy and quick configuration to generate the basic project structure. This template can be used to comfortably start a new project or refactor an existing one.

Development Plan

  1. Deploy basic project structure using cookiecutter-django
  2. Modify the structure according to other projects to make it more suitable for DRF's restful style framework
    • Add JWT verification
    • Update user management methods
    • Add custom middleware for global exception handling
    • Add throttling configuration
  3. Wrap with cookiecutter for custom deployment
  4. Support for more configuration items

References