Cookiecutter Django Iot

screenshot of Cookiecutter Django Iot

Cookiecutter template for IoT projects using Django (with celery and Heroku support)

Overview

Cookiecutter-django-iot is a template for building Internet of Things (IoT) projects using Django. It is designed to help developers create Django applications that can monitor and control third-party IoT devices through their APIs.

Features

  • Django 1.9: The template is built on Django 1.9, providing a solid foundation for building web applications.
  • Bootstrap 3: The template includes Bootstrap 3, making it easy to create responsive and visually appealing user interfaces.
  • Celery 3.1: Celery is integrated into the template, allowing for the scheduling and execution of background tasks.
  • Heroku compatible: The template is compatible with Heroku, making it easy to deploy and manage the application on the Heroku platform.
  • Data model for IoT devices: The template includes a pre-defined data model for representing IoT devices, their attributes, and their power status.
  • Placeholder tasks for device interaction: The template provides placeholder tasks that can be customized to interact with IoT devices, such as pulling attributes or setting status.
  • Management commands for task execution: The template includes management commands that can be used to run tasks from the command line or through scheduling tools like Heroku Scheduler or cron.
  • Test suite for test-driven development: The template includes a test suite that can be used as a starting point for test-driven development.

Summary

Cookiecutter-django-iot is a Django template designed for building IoT projects. It includes various features such as pre-defined data models, placeholder tasks for device interaction, and management commands for task execution. The template is compatible with Heroku and includes a test suite for test-driven development. By using this template, developers can quickly start building Django applications that can monitor and control third-party IoT devices through their APIs.