Django Hans

screenshot of Django Hans

Django Boilerplate for REST API/SPA with Vue.js built on top of Django Cookie Cutter.

Overview

Django Hans is an innovative Django boilerplate designed specifically for REST API and Single Page Applications (SPA). Built on top of the Django Cookie Cutter, this framework offers an opinionated structure that streamlines the development process, allowing developers to focus on building their applications rather than configuring basic settings. With robust features and a modern tech stack, it's an excellent choice for those looking to harness the full potential of Django paired with contemporary frontend technologies.

The framework is built using Docker, which simplifies setup and deployment for developers working across different operating systems, such as WSL, MacOS, or Linux. The combination of Django and Vue.js, alongside powerful tools like TailwindCSS and PrimeVue, ensures a seamless experience for both backend and frontend developers looking to create efficient and scalable applications.

Features

  • Opinionated Structure: Django Hans provides a clear and structured setup, making it easy to start projects with best practices in mind.

  • Robust Tech Stack: Utilizes Django REST Framework (DRF), Vue.js, Pinia, and TailwindCSS, ensuring a modern and efficient development environment.

  • Docker Integration: Comprehensive support for Docker and Docker Compose streamlines the setup process, allowing for consistent environments across team members.

  • Authentication Solutions: Features Django Allauth, SimpleJWT, and djoser for flexible authentication options; however, alternative solutions are available for those with different preferences.

  • Database Support: Comes equipped with Postgres for a reliable ORM experience, ensuring that data management is both powerful and straightforward.

  • Enhanced Development Tools: Includes basic commands for development, such as starting the server and accessing the Django shell, which simplifies everyday tasks.

  • Environment Configuration: Emphasizes the importance of secure environment variable management to enhance application security.

  • Customizable Nginx Setup: Although the current nginx setup serves as a proxy, it offers possibilities for further customization based on user requirements.