Code Monkey home page Code Monkey logo

cookiecutter-django's Introduction

Cookiecutter Django with PostGres + Docker + DramatiQ and optional APScheduler

CI

This is a cookiecutter application that aims to help people speeding up the development process. We use django-guardian for user permissions if not using external services (Auth0, Google...) as we see it fit and easy to use as well as simple to manipulate complex object permissions.

Table of Contents


Introduction

Every time a new django project needs to be set, a lot of settings and configurations need to be also set and this cookiecutter offers a lot of boilerplating including:

  1. Login
  2. Task Manager with Dramatiq
  3. Django Rest Framework
  4. Redis
  5. RabbitMQ
  6. PGBouncer for database accesses
  7. django-guardian
  8. MongoDB as Optional

All of this using docker.

Requirements

To use this cookiecutter you should have at least.

  1. Docker
  2. Python 3.8
  3. Any virtual environment at your choice

Cookiecutter

  1. Cookiecutter - More details how to use and install here

Task Manager

This project implements dramatiq

The project also contains inside the development/settings.py a DRAMATIQ_BROKER specially designed for developement. For users used to CELERY_TASK_ALWAYS_EAGER=True, this broker has a similar behaviour. Special thanks to @dnmellen for providing an alternative.

Install the template

  1. cookiecutter https://github.com/tarsil/cookiecutter-django and follow the instructions. When giving a name to your project, avoid dashes by using underscores instead.

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.