GithubHelp home page GithubHelp logo

agconti / cookiecutter-django-rest Goto Github PK

View Code? Open in Web Editor NEW
1.5K 23.0 188.0 4.91 MB

Build best practiced apis fast with Python3

Home Page: http://agconti.github.io/cookiecutter-django-rest/

License: MIT License

Python 98.14% Dockerfile 1.86%
django api rest-api boilerplate docker python3 python rest

cookiecutter-django-rest's Introduction

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

  • Modern Python development with Python 3.8+
  • Bleeding edge Django 3.0+
  • Fully dockerized, local development via docker-compose.
  • PostgreSQL 11.6+
  • Start off with full test coverage and continuous integration.
  • Complete Django Rest Framework integration
  • Always current dependencies and security updates enforced by pyup.io.
  • A slim but robust foundation -- just enough to maximize your productivity, nothing more.

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":"[email protected]", "first_name":"test", "last_name":"user"}' \
     -H "Content-Type: application/json" \
     -X POST https://piedpiper-prod.herokuapp.com/api/v1/users/

cookiecutter-django-rest's People

Contributors

agconti avatar albindevs avatar avsd avatar brad avatar dependabot[bot] avatar ferndot avatar glemmapaul avatar ivanistheone avatar johnfraney avatar marcelo-theodoro avatar osya avatar pan-long avatar pyup-bot avatar rickydunlop avatar roddds avatar stefanitsky avatar stefanpahlplatz avatar toanant avatar vpatel85 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cookiecutter-django-rest's Issues

Release 0.2.0

  • Update heroku postgresql addon config #98
  • Fix fabfile spacing #103
  • Do super() in test case of users #106
  • Remove auth_token from UserSerializer #104
  • Set up automated testing via travis #107

Release 0.1.0

  • Update users app with the appropriate test cases #1
  • Add api docs for user app #2
  • add tests for auth tokens #43
  • Add api docs for auth #3
  • Add django-storages-redux config to production. #6
  • Handle "/" routing #7
  • add redis to app readme prerequisites. #9
  • Upgrade mkdocs to 0.14.0 #10
  • Add git init to project ReadMe #17
  • Update pg backups with schedule time #18
  • Migrate the database after deploys #19
  • add fab dev and qa tasks back in #20
  • Update docs index to include readme #27
  • Update flake8 fab task to target project dir #30
  • Exclude migrations from flake8 #31
  • Configure nosetests arguments #32
  • Update flake8 to allow for easy debugging #37
  • Add faker for mocking #41
  • Remove email notifications from travis #48
  • Update cookie cutter params to specify username / organization name #47
  • Add github username to heroku repo deploy #46
  • Update app routing to use a single DefaultRouter #45
  • Exclude mkdocs site dir via gitignore #52
  • Update django-pnm to 0.1.5 #54
  • Update Authentication docs to include obtain auth_token endpoint #56
  • Add caching via django-redis to features list #58
  • Update ReadMe with more detailed background on project #60
  • Upgrade to Django 1.8 after django-configurations has been upgraded. #8
  • Add gif of scaffolding to ReadMe #66
  • Fix broken heroku run command #71
  • Database values are not set in Travis file #69
  • Running ./manage.py test will result in "Coverage.py warning: Module walc was never imported." #67
  • Tests should have --nologcapture added to the NOSE_ARGS #77
  • Add contributing.md #74
  • RelatedObjectDoesNotExist: User has no auth_token. #75
  • Configure Django template debug settings #82
  • Update to DRF 3.2.3 #81
  • Update to Django 1.8.4 #80
  • Upgrade Django-pnm to 1.6 #86
  • Update RedirectView.permanent to true for api-root route #90
  • Upgrade dependencies #89
  • Update .travis postgres config #88
  • Add .coveragerc #73

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.