项目作者: abogoyavlensky

项目描述 :
Django API boilerplate
高级语言: Python
项目地址: git://github.com/abogoyavlensky/cookiecutter-django-api.git
创建时间: 2018-04-06T18:33:30Z
项目社区:https://github.com/abogoyavlensky/cookiecutter-django-api

开源协议:MIT License

下载


Django API boilerplate

Requirements

  • Python==3.6
  • Django==2.x
  • Django REST Framework==3.8

Features

  • Docker Compose local setup with minimal docker-image
  • Celery with Flower configuration included
  • Convenient make-commands to manage the project
  • Fast testing Gitlab CI pipeline by default
  • Testing with py.test and django-dynamic-fixture
  • Checking lint, types and complexity with auto formatting
  • Built-in API doc and JWT-auth by default
  • Ability to generate actual db graph
  • django-debug-toolbar and django-silk configured

Installation

First of all, you need to install cookiecutter python package. And then
just run it pointed to the repository:

  1. $ pip install cookiecutter
  2. $ cookiecutter gh:abogoyavlensky/cookiecutter-django-api

Now, your project has been configured and ready for further development:

  1. $ cd <project_name>
  2. $ make help
  3. $ make build
  4. $ make detach
  5. $ make manage createsuperuser

Inspired by

TODO:

  • Production build and CD
  • Testing coverage up to 100%
  • Use django-configurations
  • Improve readme
  • Add ability to choose between REST and GraphQL