All Projects → metakermit → Generator Django Rest

metakermit / Generator Django Rest

Licence: mit
Yeoman generator for a Django REST/GraphQL API, an optional React SPA & lots more!

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Generator Django Rest

Ponee
A lightweight Django template ready for Heroku
Stars: ✭ 41 (-46.75%)
Mutual labels:  heroku, django, django-rest-framework
Project Dashboard With Django
Agile Project Management dashboard with Django REST and Vue.js
Stars: ✭ 25 (-67.53%)
Mutual labels:  heroku, django, django-rest-framework
Crud App Vuejs Django
This is simple crud app and searchFilter made using vuejs and django. Used to explain the tutorial present on https://medium.com/@shubhambansal_89125/crud-app-using-vue-js-and-django-516edf4e4217 https://medium.com/@shubhambansal_89125/searchfilter-using-django-and-vue-js-215af82e12cd
Stars: ✭ 174 (+125.97%)
Mutual labels:  heroku, django, django-rest-framework
Django Rest React Pycon
🐍 Demo repo for Pycon X talk "Decoupling Django with Django REST (and a sprinkle of React)"
Stars: ✭ 72 (-6.49%)
Mutual labels:  heroku, django, django-rest-framework
Django Channels React Multiplayer
turn based strategy game using django channels, redux, and react hooks
Stars: ✭ 52 (-32.47%)
Mutual labels:  django, django-rest-framework
Generator Http Fake Backend
Yeoman generator for building a fake backend by providing the content of JSON files or JavaScript objects through configurable routes.
Stars: ✭ 49 (-36.36%)
Mutual labels:  yeoman, yeoman-generator
Django Rest Framework Tricks
Collection of various tricks for Django REST framework.
Stars: ✭ 52 (-32.47%)
Mutual labels:  django, django-rest-framework
Django Crm
A Simple Django CRM (Customer Relationship Management) RESTful API Project
Stars: ✭ 63 (-18.18%)
Mutual labels:  django, django-rest-framework
Django Rest Pandas
📊📈 Serves up Pandas dataframes via the Django REST Framework for use in client-side (i.e. d3.js) visualizations and offline analysis (e.g. Excel)
Stars: ✭ 1,030 (+1237.66%)
Mutual labels:  django, django-rest-framework
Drf Nested Routers
Nested Routers for Django Rest Framework
Stars: ✭ 1,098 (+1325.97%)
Mutual labels:  django, django-rest-framework
Awesome Django
Repository mirror of GitLab: https://gitlab.com/rosarior/awesome-django This repository is not monitored for issues, use original at GitLab.
Stars: ✭ 8,527 (+10974.03%)
Mutual labels:  django, django-rest-framework
Guides
Guides for learning + doing better web and app development. Created by Coding for Entrepreneurs.
Stars: ✭ 1,042 (+1253.25%)
Mutual labels:  heroku, django
Drf Recaptcha
Django REST framework reCAPTCHA
Stars: ✭ 47 (-38.96%)
Mutual labels:  django, django-rest-framework
Modernwebdevgenerator
A Yeoman generator for Modern Web development projects
Stars: ✭ 73 (-5.19%)
Mutual labels:  yeoman, yeoman-generator
Metaci
Lightweight, Salesforce specific CI app run on Heroku to build Github repositories configured for CumulusCI
Stars: ✭ 45 (-41.56%)
Mutual labels:  heroku, django
Django React
This a simple Django and React demo application
Stars: ✭ 63 (-18.18%)
Mutual labels:  django, django-rest-framework
Django Vue Template
Django Rest + Vue JS Template
Stars: ✭ 1,155 (+1400%)
Mutual labels:  django, django-rest-framework
Thinkdiff
My open source project links, programming and software development related code and tutorials are in this repo. Content types: Python, JavaScript, Dart | Django, React, Flutter, React-Native etc.
Stars: ✭ 65 (-15.58%)
Mutual labels:  django, django-rest-framework
Indrz
Indoor mapping, routing system for orientation and wayfinding or facility management
Stars: ✭ 69 (-10.39%)
Mutual labels:  django, django-rest-framework
Apployees Nx
A collection of builders and extensions for the https://nx.dev monorepo tooling.
Stars: ✭ 43 (-44.16%)
Mutual labels:  create-react-app, monorepo

generator-django-rest npm Build Status GitHub license Updates

A Yeoman generator for easily bootstrapping a Django REST API with some common settings and quickly deployable to Heroku/Dokku. Check out this quick screencast showing you how to deploy a full-fledged Django REST API to Heroku in 5 minutes:

asciicast

The goal is to keep you efficient and include features you need in a typical modern web app, yet keeps things simple and not too bloated. You can see an example generated Django project here. For some background on how and why the project was created, read this article.

Note: the project is still considered to be in beta until I get a chance to test it on more apps. That said, I am using it in my own projects :)

Features

Some of the cool features that come with generator-django-rest are:

  • 🚀 quick to launch – start a new project and deploy it to Heroku in 3 commands:

    yo django-rest
    ./scripts/install.sh
    ./scripts/deploy.sh
    
  • ⚡️ productive – start the Django, DB & optionally frontend dev servers easily

    ./scripts/start.sh
    
  • 🐳 Docker support – get a complete environment with Django, Postgres & Redis in a single command:

    docker-compose up
    
  • 🦄 modern JS – serve static files on / using django-spa for nice single-page apps using React / Angular / Vue…

  • ⚛️ GraphQL – interactive API with filtering and nested queries using Graphene

  • ⛵️ monorepo - option to automatically set up a create-react-app frontend for you in the same git repo with everything integrated under the mantra one app, one repo, one dyno

  • 📦 Heroku-friendly packaging – if you're using the built-in React frontend, deploy.sh minifies the frontend and packages it up with Django into a separate prod branch ready for deployment as a Django web app (that gets deployed to Heroku by default)

  • 🍣 Dokku support – quick to deploy to Dokku, a DIY alternative to Heroku

  • 🤓 12-factor config – environment variable configuration using django-environ

    • define a variable in .env for dev e.g. REDIS_URL=redis://localhost:6379/0
    • use it in settings.py, e.g. CELERY_RESULT_BACKEND = env('REDIS_URL')
    • set variables on the prod server (just works™ with Redis on Heroku)
  • 🔋 batteries included

    • Celery with a Redis backend – cause you'll need an async task queue
    • Backblaze B2 media file storage backend (optional)
  • 📜 sane logging – defaults to fail nicely

  • 🐶 familiar – check out the rough project file layout, it's much like django-admin startproject myproject would set it up (only repeats the project name twice, i.e. ~/code/myproject/myproject/settigns.py). An example generated app is published as metakermit/hellodjango.

See CHANGELOG.md for a full release history with all the features.

Getting Started

To begin, you need to install node.js. Once you have that, you need Yeoman pre-installed. Yeoman lives in the npm package repository. You only have to ask for him once, then he packs up and moves into your hard drive.

npm install -g yo

Then, we need the django-rest generator, i.e. plug-in. You install generator-django-rest from npm.

npm install -g generator-django-rest

Finally, for every new project you would initiate the generator in an empty folder.

mkdir myproject
cd myproject
yo django-rest

Now check the HACKING.md file in the generated code project for extra instructions (generated from this template if you're curious).

Contributing

If you have some ideas for contributions, suggestions are always welcome. Note, however, that the goal of the project is to stay minimalist, so we'll try to keep the number of dependencies small.

As a reminder to myself, I release a new version of generator-django-rest by running:

npm run release:patch # or :minor or :major
npm publish

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].