Skip to content

wedk/todomvc-django-ujs

Repository files navigation

todomvc-django-ujs

TodoMVC-like experiment using Django and jquery-ujs.

This experiment differs from classic TodoMVC implementations by allowing to create multiple projects ; each project containing its own set of tasks (todo items).

  • based on TodoMVC
  • database persistence
  • CRUD projects
  • CRUD tasks (todo items)

Technical details

  • use jquery-ujs, the unobtrusive scripting adapter for jQuery, developed for the Ruby on Rails framework
  • custom Django middlewares to support PUT / DELETE http verbs
  • custom Django template tag to include / render an HTML template as a JavaScript string
  • custom CSRF header name for compatibility with jquery-ujs

Prerequisites

  • Python 3.5.x
  • Django 1.9.x
  • Node.js 4.x (and npm 2.x) to build assets (SASS/CSS, JS) with Grunt
  • ruby 1.9.x to build SASS files with the SASS gem

Acknowledgements

This experiment was especially inspired by the following work:

License

MIT

About

TodoMVC-like experiment using Django and jquery-ujs

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published