agconti / cookiecutter-django-rest

Build best practiced apis fast with Python3
http://agconti.github.io/cookiecutter-django-rest/
MIT License
1.53k stars 188 forks source link
api boilerplate django docker python python3 rest rest-api

cookiecutter-django-rest

cookiecutter-django-rest

a factory for building bleeding edge, best practiced, scalable, rest apis

Build Status Dependencies Python 3

You need to make a scalable api on a deadline. You deeply care about the quality of your work. cookiecutter-django-rest takes care of the details so you can focus on making your api awesome. Scaffolding a project takes seconds and it gives you authentication, user accounts, and the docs and tests to support them. Just add your own resources to the api and start shipping. ✨ 💅

Highlights

Quick Start

Install cookiecutter:

brew install cookiecutter

Scaffold your project:

cookiecutter gh:agconti/cookiecutter-django-rest

Scaffolding

Example of the result: https://github.com/agconti/piedpiper-web

Try creating a user!

curl -d '{"username":"'"$RANDOM"'", "password":"test", "email":"test@test.com", "first_name":"test", "last_name":"user"}' \
     -H "Content-Type: application/json" \
     -X POST https://piedpiper-prod.herokuapp.com/api/v1/users/