A very basic Cookiecutter template to start off a Django projects with MithrilJS for the front-end.
Start the scaffholding.
cookiecutter https://github.com/poudel/cookiecutter-drf-mithrilChange to the newly created directory when done and run the following command to install python dependencies.
pipenv installNow install the front-end stuff. I recommend NVM for extra protection.
yarn installDone! Now run ./manage.py runserver and yarn start.
- No hot reloading or anything much fancy for the front-end.
- Comes with
axios(to make API requests) as a dependency. - Babel for ES6,
node-sasspowered loader for SASS, basic webpack config for development. - A base
UIcomponent, powered byludbek/mithril-componentxandludbek/validatex. - Uses the newly recommended
Pipfilefor python dependencies.