jetstream
django-unicorn
Our great sponsors
jetstream | django-unicorn | |
---|---|---|
23 | 51 | |
3,881 | 2,159 | |
0.9% | - | |
8.7 | 9.1 | |
9 days ago | 7 days ago | |
PHP | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
jetstream
-
Is using the repository pattern best practise?
For writing models I would suggest using Action Closes. One example of them can be found in Jetstream's sourcecode. Actions are great to test in isolation and link to user stories.
-
Ask HN: What would be your stack if you are building an MVP today?
While I prefer python for everything else, I'd go with Laravel Jetstream[1] for an MVP, just like I did with the last one I had to build. It's laravel, you can use Vue (React or Svelte) for your views instead of the blade templating language that comes with the framework. Jetstream also comes with Auth, user login and subscription and other useful stuff.
And for the flavor, I'd just go with DaisyUI[2] again, since it's based on tailwindcss and it's what I've been using lately.
In my experience, I can build MVPs real fast with the stack described above.
-
How to call api internally and is that a good idea to call like that?
A well-implemented example of this would be in Laravel Jetstream, where an Actions namespace is defined for performing user-oriented tasks in Laravel Fortify — such as updating the user profile.
- What auth scaffolding should be used with sanctum tokens
- Admin panel with basic html css js
-
`npm run dev` not copying css or js files to public. Bug?
This legacy package is a very simple authentication scaffolding built on the Bootstrap CSS framework. While it continues to work with the latest version of Laravel, you should consider using Laravel Breeze for new projects. Or, for something more robust, consider Laravel Jetstream.
-
Preventing User Enumeration Attack in Laravel Apps
Laravel provide us with robust solutions and starter kits for authentication so let's start by creating a new Laravel 9 project and install Jetstram
- Jetstream - Tailwind scaffolding for the Laravel framework.
- Jetstream – Tailwind scaffolding for the Laravel framework
-
Moving an existing vanilla PHP website to Laravel/Vue, using packages for different components
In terms off bullet points you added, I've made something pretty similar using Laravel with : Laravel Jetstream(application starter kit with inertia + vue stack) https://jetstream.laravel.com/
django-unicorn
- Use any web browser as GUI, with Zig in the back end and HTML5 in the front end
-
Coming to grips with JS: a Rubyist's deep dive
Then there are stack-specific libraries: StimulusReflex for Rails, Phoenix LiveView, Laravel Livewire, Unicorn and Tetra for Django, Blazor for .NET, … and the list goes on.
- Unicorn – A full-stack web framework for Django
-
Reflex – Web apps in pure Python
- you get one of the best ORMs in existence with great relationship handling and generated admins
https://www.django-unicorn.com/
Not 1.0 yet but I'm using it in production and omgosh is it easy to crank out UIs.
-
Django 4.2 Released
There's a brilliant project called Django Unicorn that aims to be the equivalent of Laravel Livewire for Django. You should take a look.
https://www.django-unicorn.com/
That and HTMX + Alpine.js are a strong combination.
(I also had a bash at building a similar tool for Django called Tetra but unfortunately haven't had the time needed to commit to it: https://www.tetraframework.com)
-
Launch HN: Pynecone (YC W23) – Web Apps in Pure Python
I think all LiveView frameworks should be part of this.
Here are two Python ones I've tried:
-
Phoenix Liveview Implementations
I'm biased since I created https://www.django-unicorn.com/, but I have a few thoughts. :)
-
Frontend framework for django?
Have you looked into Django Unicorn?
-
Endless stack in Django
Check out https://www.django-unicorn.com/ it is like htmx but is closer to Django.
-
Rails has Hotwire (which as I understand is an SPA-like integrated frontend with much reduced complexity), is there something analogous in Django? Is this what HTMX is? I really don't want to learn React or Vue..
When I was exploring the space, django-unicorn looked interesting also. But HTMX got me so far, so easily, that I didn't give unicorn a fair shake.
What are some alternatives?
breeze - Minimal Laravel authentication scaffolding with Blade, Vue, or React + Tailwind.
django-htmx - Extensions for using Django with htmx.
jwt-auth - 🔐 JSON Web Token Authentication for Laravel & Lumen
reflex - 🕸️ Web apps in pure Python 🐍
Tailwind CSS - A utility-first CSS framework for rapid UI development.
htmx - </> htmx - high power tools for HTML
livewire - A full-stack framework for Laravel that takes the pain out of building dynamic UIs.
PyWebIO - Write interactive web app in script way.
sanctum - Laravel Sanctum provides a featherweight authentication system for SPAs and simple APIs.
flet - Flet enables developers to easily build realtime web, mobile and desktop apps in Python. No frontend experience required.
crudbooster - Laravel CRUD Generator, Make an Advanced Web Application Quickly
Flask - The Python micro framework for building web applications.