AB
abogoyavlensky/cookiecutter-django-api
Django API boilerplate
Django API boilerplate
Requirements
- Python==3.6
- Django==2.x
- Django REST Framework==3.8
Features
Docker Composelocal setup with minimaldocker-imageCelerywithFlowerconfiguration included- Convenient
make-commands to manage the project - Fast testing
Gitlab CIpipeline by default - Testing with
py.testanddjango-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-toolbaranddjango-silkconfigured
Installation
First of all, you need to install cookiecutter python package. And then
just run it pointed to the repository:
$ pip install cookiecutter
$ cookiecutter gh:abogoyavlensky/cookiecutter-django-apiNow, your project has been configured and ready for further development:
$ cd <project_name>
$ make help
$ make build
$ make detach
$ make manage createsuperuserInspired by
- https://github.com/pydanny/cookiecutter-django
- https://github.com/wemake-services/wemake-django-template
- https://github.com/agconti/cookiecutter-django-rest
- https://github.com/ghrecommender/ghrecommender-backend
- https://github.com/github/scripts-to-rule-them-all
TODO:
- Production build and CD
- Testing coverage up to 100%
- Use
django-configurations - Improve readme
- Add ability to choose between REST and GraphQL
On this page
Languages
Python81.7%Makefile13.2%HTML2.5%Shell2.5%
Contributors
MIT License
Created April 6, 2018
Updated March 8, 2023