Cookiecutter Django React Ansible

screenshot of Cookiecutter Django React Ansible
django
react

A cookiecutter template for setting up a project with Django, React and Ansible.

Overview:

cookiecutter-django-react-ansible is a cookiecutter template that allows users to easily set up a Django 4.2 & React project with Ansible provisioning. It provides opinionated defaults and follows the 12-Factor methodology. With this template, users can benefit from key features and technologies such as Django 4.2, Python 3.10, React 18, TypeScript, Ansible 9, PostgreSQL 14, NGINX web server with HTTP/2 support, and more. Users can also set up functional tests with Selenium and Firefox, better python dependency management with pip-tools, and use Vagrant for the development environment. The project comes with a Jenkinsfile for CI/CD pipelines and supports both Linux, macOS, and Windows host environments. Additionally, it offers SSL certificate support for production and auto-generated self-signed SSL certificates for development.

Features:

  • Django 4.2
  • Python 3.10
  • React 18 (using create-react-app script)
  • TypeScript
  • Ansible 9 for provisioning
  • Follows the 12-Factor methodology
  • Functional tests with Selenium and Firefox
  • Better python dependency management with pip-tools
  • Works on Linux, macOS, and Windows host environments
  • PostgreSQL 14
  • NGINX web server set up with HTTP/2 support
  • Ubuntu 22.04 (Jammy Jellyfish)
  • Certbot / Let's Encrypt
  • SSL certificates for production, auto-generated self-signed SSL certificates for development
  • Checks to python dependencies provided via pip-audit
  • Vagrant for the development environment
  • Comes with a Jenkinsfile for CI / CD pipelines

Summary:

cookiecutter-django-react-ansible is a convenient template for setting up a Django 4.2 & React project with Ansible provisioning. It offers a wide range of features and technologies such as Django 4.2, React 18, TypeScript, Ansible 9, PostgreSQL 14, NGINX web server with HTTP/2 support, and more. It also provides functional testing capabilities, better python dependency management, Vagrant support for the development environment, and CI/CD pipelines through Jenkinsfile. With easy installation and clear documentation, this template is a valuable tool for developers looking to quickly start their Django and React projects.

django
Django

Django is a high-level Python web framework that encourages rapid development and clean, pragmatic design. It follows the model-view-controller (MVC) architectural pattern, providing an extensive set of built-in tools and conventions to streamline the creation of robust and scalable web applications.

react
React

React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components