Code Monkey home page Code Monkey logo

azataiot / djazz Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 65 KB

A ready-to-use Django project tailored for practical, real-world applications, djazz comes with pre-configured essential settings and industry best practices built-in, ensuring a streamlined development process right out of the box. Ideal for developers looking to jumpstart their projects without the hassle of initial setup.

Home Page: https://djazz.cc

License: BSD 3-Clause "New" or "Revised" License

Python 68.99% Dockerfile 2.35% Shell 3.97% HTML 24.70%
cloud-native containerization django django-application django-framework django-ninja django-project django-rest-framework docker docker-compose geodjango rest-api djazz

djazz's Introduction

django-template logo

djazz

Batteries included Django project designed for practical, real-world applications
Explore docs ยป

PyPI - Versions from Framework Classifiers GitHub Issues or Pull Requests Libraries.io dependency status for GitHub repo GitHub commit activity

A ready-to-use Django project tailored for practical, real-world applications, djazz comes with pre-configured essential settings and industry best practices built-in, ensuring a streamlined development process right out of the box. Ideal for developers looking to jumpstart their projects without the hassle of initial setup.


Documentation: Coming soon! ๐Ÿšง
Live Demo: Coming soon! ๐Ÿšง
Source Code: https://github.com/azataiot/djazz


What is coming ?

  • Official website of Djazz, for sharing best practices, resources, tutorials etc. will be available soon at https://djazz.cc
  • A robust and well tested django project template, Enterprise projects ready deployment and development.
  • Apps will be coming to this template:
    • 'Pages' : An app for handling either static or dynamic pages. Analog to WordPress pages model.
    • 'Blog' : A blog app seems necessary for all django projects nowadays, so we are going to embed an blog application.
    • 'Snippets' : A snippets app that gives you quick reference to code examples !
    • 'Accounts' : An application for user authentication and authorization.
  • Tools will be coming to this template:
    • 'Lorem Ipsum' : A Djazz tool to help you quickly mock your data.
    • 'String case converter' : To help you with all that string conversion headache.
  • What else you want ? Request future on GitHub Issue or on Discord!

Features

  • Free and Open Source: This project is completely free and open source !! Check LICENSE for details.
  • Django ^5.0.: The latest version of Django, the web framework for perfectionists with deadlines.
  • PostgreSQL: The world's most advanced open-source relational database.
  • Powered by Docker: Dockerized development environment for easy setup and deployment.
  • Built-in User Authentication and Authorization: Fully functional user authentication and authorization system included.
  • Custom User Model: A custom user model is provided out of the box.
  • Built-in API: A RESTful API (both django rest framework and django ninja) is included for easy integration with frontend frameworks.
  • Django Debug Toolbar: For easy debugging and performance optimization.
  • And much more!

Requirements

  • Django: 5.0 or higher
  • Python: 3.11 or higher

Quick Start

To run djazz, you need to have Python and Docker installed on your machine. You also need to create an .env file in the root directory (where the manage.py file is located) with the following contents at minimum:

# Profiles
COMPOSE_PROFILES=development
# Django
DEBUG=1
ALLOWED_HOSTS=localhost,127.0.0.1,[::1],djazz.cc
POSTGRES_DB=djazz
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_HOST=db

# Email settings (mailpit)
EMAIL_BACKEND=django.core.mail.backends.smtp.EmailBackend
DEFAULT_FROM_EMAIL="Djazz! <[email protected]>"
EMAIL_HOST=mail
EMAIL_PORT=1025
EMAIL_USE_TLS=False
EMAIL_HOST_USER=""
EMAIL_HOST_PASSWORD=""

The easiest way to run djazz is using Docker. Make sure you have Docker installed on your machine.

docker compose --profile debug up

or you can use the djazz CLI tool Coming soon! ๐Ÿšง :

This will start the development server and PostgreSQL database as well as the Redis cache server. You can access the development server at http://localhost:8000/.

djazz's People

Contributors

azataiot avatar

Stargazers

 avatar  avatar

Watchers

 avatar

djazz's Issues

indentation error on settings.py for INTERNAL_IPS

In:

INTERNAL_IPS = [ip[: ip.rfind(".")] + ".1" for ip in ips] + [

# DEBUG only settings
if DEBUG:
    # Development internal IPs
    # https://docs.djangoproject.com/en/5.0/ref/settings/#internal-ips
    import socket  # for docker development

hostname, _, ips = socket.gethostbyname_ex(socket.gethostname())
INTERNAL_IPS = [ip[: ip.rfind(".")] + ".1" for ip in ips] + [
    "127.0.0.1",
    "10.0.2.2",
]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.