Levit's Django CookieCutter template for Django + Ember apps
Before getting started
This cookie cutter provides a Django project built according to the project app architecture.
In short, with the project app architecture, the almost empty directory named after your project becomes an app like any other app in your project. This has numerous advantages, the most noticeable of them being that you don't need to create a core or base app but can use your project app instead.
If you haven't seen Anatomy of a Django Project by Mark Lavin, I would emcourage you to do so to get a better grasp of what the project app architecture is about.
For more info on CookieCutter, please visit their documentation
If you are not familiar with how you should install any of those or if you are running windows , please visit our environment alternatives and Ubuntu TL;DR page for more info
- Latest Python & virtualenv
- Latest CookieCutter - (
sudo pip install -U cookiecutterto upgrade)
- Latest NodeJS & npm
- Latest ember-cli (if you already have ember-cli installed, see release notes for upgrade instructions)
To use, simply run
Included in this CoookieCutter:
- Django Rest Framework
- Django Filter
- Django CORS headers
- Django Debug Toolbar and Django Debug Panel
A base test to test most standard
- ember-data-factory-guy and ember-cli-mirage
- Ember CLI SaSS
Integration of Boostrap and FontAwesome with Ember
- Session Authentication between Ember and Django
Make sure your system allows you to run scripts from /tmp (this isn't the case for all default Ubuntu installations)
For several reasons, This template cannot be used natively on windows. If you are running windows, please see the environment alternatives page.
This template comes with a base test class to test most ModelViewSets, look at the
base.pyfile in the
testsfolder for more info
This template comes with pre-configured session-based authentication.
This project is licensed under the MIT License
Before contributing, commenting or interacting with this project in any form, please, make sure you read and understand our Code of Conduct