Realworld - Realworld using Django and HTMX

Related tags

Django realworld
Overview

Implementation of real-world application: https://github.com/gothinkster/realworld/ using Django and HTMX.

An in-depth discussion of this implementation can be found here.

Tech Stack:

To install and run locally:

git clone https://github.com/danjac/realworld/ && cd realworld

python -m venv venv

source venv/bin/activate

pip install -r requirements.txt

./manage.py migrate && ./manage.py runserver

Note: this is just a reference implementation and is not intended for production use.

You might also like...
Blog focused on skills enhancement and knowledge sharing. Tech Stack's: Vue.js, Django and Django-Ninja

Blog focused on skills enhancement and knowledge sharing. Tech Stack's: Vue.js, Django and Django-Ninja

Meta package to combine turbo-django and stimulus-django

Hotwire + Django This repository aims to help you integrate Hotwire with Django 🚀 Inspiration might be taken from @hotwired/hotwire-rails. We are sti

django-quill-editor makes Quill.js easy to use on Django Forms and admin sites
django-quill-editor makes Quill.js easy to use on Django Forms and admin sites

django-quill-editor django-quill-editor makes Quill.js easy to use on Django Forms and admin sites No configuration required for static files! The ent

Dockerizing Django with Postgres, Gunicorn, Nginx and Certbot. A fully Django starter project.

Dockerizing Django with Postgres, Gunicorn, Nginx and Certbot 🚀 Features A Django stater project with fully basic requirements for a production-ready

APIs for a Chat app. Written with Django Rest framework and Django channels.
APIs for a Chat app. Written with Django Rest framework and Django channels.

ChatAPI APIs for a Chat app. Written with Django Rest framework and Django channels. The documentation for the http end points can be found here This

Django-MySQL extends Django's built-in MySQL and MariaDB support their specific features not available on other databases.
Django-MySQL extends Django's built-in MySQL and MariaDB support their specific features not available on other databases.

Django-MySQL The dolphin-pony - proof that cute + cute = double cute. Django-MySQL extends Django's built-in MySQL and MariaDB support their specific

Django-Audiofield is a simple app that allows Audio files upload, management and conversion to different audio format (mp3, wav & ogg), which also makes it easy to play audio files into your Django application.
Django-Audiofield is a simple app that allows Audio files upload, management and conversion to different audio format (mp3, wav & ogg), which also makes it easy to play audio files into your Django application.

Django-Audiofield Description: Django Audio Management Tools Maintainer: Areski Contributors: list of contributors Django-Audiofield is a simple app t

django Filer is a file management application for django that makes handling of files and images a breeze.
django Filer is a file management application for django that makes handling of files and images a breeze.

django Filer is a file management application for django that makes handling of files and images a breeze.

 RestApi With Django 3.2 And Django Rest Framework
RestApi With Django 3.2 And Django Rest Framework

RestApi-With-Django-3.2-And-Django-Rest-Framework Description This repository is a Software of Development with Python. Virtual Using pipenv, virtuale

Comments
  • could not start the server

    could not start the server

    root@debian11:~/realworld# python3 -m venv venv root@debian11:~/realworld# source venv/bin/activate (venv) root@debian11:~/realworld# pip install -r requirements.txt Collecting django==4.0.1 Downloading Django-4.0.1-py3-none-any.whl (8.0 MB) |████████████████████████████████| 8.0 MB 916 kB/s Collecting django-htmx===1.8.0 Downloading django_htmx-1.8.0-py3-none-any.whl (8.9 kB) Collecting django-widget-tweaks==1.4.12 Downloading django_widget_tweaks-1.4.12-py3-none-any.whl (8.9 kB) Collecting django-taggit==2.1.0 Downloading django_taggit-2.1.0-py3-none-any.whl (59 kB) |████████████████████████████████| 59 kB 7.3 MB/s Collecting markdown==3.3.6 Downloading Markdown-3.3.6-py3-none-any.whl (97 kB) |████████████████████████████████| 97 kB 7.6 MB/s Collecting asgiref<4,>=3.4.1 Downloading asgiref-3.5.2-py3-none-any.whl (22 kB) Collecting sqlparse>=0.2.2 Downloading sqlparse-0.4.3-py3-none-any.whl (42 kB) |████████████████████████████████| 42 kB 920 kB/s Collecting importlib-metadata>=4.4 Downloading importlib_metadata-5.0.0-py3-none-any.whl (21 kB) Collecting zipp>=0.5 Downloading zipp-3.10.0-py3-none-any.whl (6.2 kB) Installing collected packages: zipp, sqlparse, asgiref, importlib-metadata, django, markdown, django-widget-tweaks, django-taggit, django-htmx Successfully installed asgiref-3.5.2 django-4.0.1 django-htmx-1.8.0 django-taggit-2.1.0 django-widget-tweaks-1.4.12 importlib-metadata-5.0.0 markdown-3.3.6 sqlparse-0.4.3 zipp-3.10.0 (venv) root@debian11:~/realworld# ./manage.py migrate && ./manage.py runserver Operations to perform: Apply all migrations: accounts, admin, articles, auth, comments, contenttypes, sessions, taggit Running migrations: Applying contenttypes.0001_initial... OK Applying contenttypes.0002_remove_content_type_name... OK Applying auth.0001_initial... OK Applying auth.0002_alter_permission_name_max_length... OK Applying auth.0003_alter_user_email_max_length... OK Applying auth.0004_alter_user_username_opts... OK Applying auth.0005_alter_user_last_login_null... OK Applying auth.0006_require_contenttypes_0002... OK Applying auth.0007_alter_validators_add_error_messages... OK Applying auth.0008_alter_user_username_max_length... OK Applying auth.0009_alter_user_last_name_max_length... OK Applying auth.0010_alter_group_name_max_length... OK Applying auth.0011_update_proxy_permissions... OK Applying auth.0012_alter_user_first_name_max_length... OK Applying accounts.0001_initial... OK Applying accounts.0002_alter_user_managers_user_followers... OK Applying admin.0001_initial... OK Applying admin.0002_logentry_remove_auto_add... OK Applying admin.0003_logentry_add_action_flag_choices... OK Applying taggit.0001_initial... OK Applying taggit.0002_auto_20150616_2121... OK Applying taggit.0003_taggeditem_add_unique_index... OK Applying taggit.0004_alter_taggeditem_content_type_alter_taggeditem_tag... OK Applying articles.0001_initial... OK Applying articles.0002_article_favorites_alter_article_tags... OK Applying comments.0001_initial... OK Applying sessions.0001_initial... OK Watching for file changes with StatReloader Performing system checks...

    System check identified no issues (0 silenced). October 29, 2022 - 11:55:12 Django version 4.0.1, using settings 'realworld.settings' Starting development server at http://127.0.0.1:8000/ Quit the server with CONTROL-C.

    everything says ok but stopped there and no respond from the port or command line

    opened by 65654865 1
  • Htmx vs Unpoly

    Htmx vs Unpoly

    Hi Mr.Dan, can you make an article to explain the deference between Htmx and Unpoly. I'm using Unpoly with Django for now, and I'm used Htmx for testing but I think Unpoly more easer and it don't required more configuration. the only problem in Unpoly that have poor docs for learning.

    opened by alnuaimi94 3
Owner
Dan Jacob
Dan Jacob
Quick example of a todo list application using Django and HTMX

django-htmx-todo-list Quick example of a todo list application using Django and HTMX Background Modified & expanded from https://github.com/jaredlockh

Jack Linke 54 Dec 10, 2022
Django datatables with htmx.

Django datatables with htmx.

Regis Santos 7 Oct 23, 2022
Django URL Shortener is a Django app to to include URL Shortening feature in your Django Project

Django URL Shortener Django URL Shortener is a Django app to to include URL Shortening feature in your Django Project Install this package to your Dja

Rishav Sinha 4 Nov 18, 2021
A beginner django project and also my first Django project which involves shortening of a longer URL into a short one using a unique id.

Django-URL-Shortener A beginner django project and also my first Django project which involves shortening of a longer URL into a short one using a uni

Rohini Rao 3 Aug 8, 2021
A starter template for building a backend with Django and django-rest-framework using docker with PostgreSQL as the primary DB.

Django-Rest-Template! This is a basic starter template for a backend project with Django as the server and PostgreSQL as the database. About the templ

Akshat Sharma 11 Dec 6, 2022
DRF_commands is a Django package that helps you to create django rest framework endpoints faster using manage.py.

DRF_commands is a Django package that helps you to create django rest framework endpoints faster using manage.py.

Mokrani Yacine 2 Sep 28, 2022
Django-discord-bot - Framework for creating Discord bots using Django

django-discord-bot Framework for creating Discord bots using Django Uses ASGI fo

Jamie Bliss 1 Mar 4, 2022
Django-Text-to-HTML-converter - The simple Text to HTML Converter using Django framework

Django-Text-to-HTML-converter This is the simple Text to HTML Converter using Dj

Nikit Singh Kanyal 6 Oct 9, 2022
Django project starter on steroids: quickly create a Django app AND generate source code for data models + REST/GraphQL APIs (the generated code is auto-linted and has 100% test coverage).

Create Django App ?? We're a Django project starter on steroids! One-line command to create a Django app with all the dependencies auto-installed AND

imagine.ai 68 Oct 19, 2022
A Django chatbot that is capable of doing math and searching Chinese poet online. Developed with django, channels, celery and redis.

Django Channels Websocket Chatbot A Django chatbot that is capable of doing math and searching Chinese poet online. Developed with django, channels, c

Yunbo Shi 8 Oct 28, 2022