django-bridge
docker-django-react-example | django-bridge | |
---|---|---|
1 | 3 | |
6 | 216 | |
- | 21.3% | |
2.2 | 8.7 | |
3 months ago | 7 days ago | |
Python | TypeScript | |
- | GNU General Public License v3.0 or later |
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.
docker-django-react-example
-
Modern JavaScript for Django Developers
So I actually recently dealt with this, sharing this as hopefully it helps you.
https://github.com/ospira/docker-django-react-example
In essence, you need two instances of VSCode running connected to two separate Docker container instances. As I understand it, it's one remote container per VSCode window. Thus, I found this to be best, even though it isn't strictly speaking necessary, but it ends up feeling that way because as you said the language server integration (intellisense and extensions) will not work properly if not connected to the right container.
If you load this up in vs code it should prompt you properly given the presence of the files in `.devcontainter` dir. Having two windows in VSCode is kind of annoying at first, but I found it was actually fine, especially on macOS where tabbing to the other VSCode window (as opposed to ungrouped alt+tab on windows) was painless, and also kept me more organized not having backend and frontend code right next to each other.
django-bridge
-
Modern JavaScript for Django Developers
Check out https://django-bridge.org/
It allows you to use a regular Django backend with views, forms, urls, etc but render the UI with Javascript
- Django Bridge – Django / React application framework
- Show HN: Django Render – Build Django applications with React front ends
What are some alternatives?
typesafedjango
flet - Flet enables developers to easily build realtime web, mobile and desktop apps in Python. No frontend experience required.
esbuild - An extremely fast bundler for the web
nicegui - Create web-based user interfaces with Python. The nice way.
django-rest-framework - Web APIs for Django. 🎸
mesop - Rapidly build AI apps in Python