Skip to content
This repository has been archived by the owner on Mar 2, 2020. It is now read-only.

Basic cookiecutter template for DRF+MithrilJS powered projects

License

Notifications You must be signed in to change notification settings

poudel/cookiecutter-drf-mithril

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

A very basic Cookiecutter template to start off a Django projects with MithrilJS for the front-end.

Installation

Start the scaffholding.

cookiecutter https://github.com/poudel/cookiecutter-drf-mithril

Change to the newly created directory when done and run the following command to install python dependencies.

pipenv install

Now install the front-end stuff. I recommend NVM for extra protection.

yarn install

Done! Now run ./manage.py runserver and yarn start.

Comes with

  • 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-sass powered loader for SASS, basic webpack config for development.
  • A base UI component, powered by ludbek/mithril-componentx and ludbek/validatex.
  • Uses the newly recommended Pipfile for python dependencies.

About

Basic cookiecutter template for DRF+MithrilJS powered projects

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published