Skip to content

LamArt/django-rest-service-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django REST framework service backend template

Why?

Standard Django comes with a lot of batteries, but even with them it's up to you to implement such basic features like:

  • Auth workflow, Login/Registration
  • Custom user model
  • CORS + JWT

This features implemented in this template:

Features:

  • Custom user model
  • JWT auth via simple-JWT
  • Local settings
  • CORS
  • Login and registration views
  • Change password view

Planned:

  • Reset password view
  • User notification mechanism
  • Docker
  • CI-CD
  • Swagger (?)
  • Sentry (?)

Pre-requisites:

Required

Optional

Installation

pip install -r requirements.txt
cd ./src/core
echo local_settings.template.py > local_settings.py
python src/manage.py test

Usage

Codestyle:

Style

Code organisation