Replies: 5 comments 8 replies
-
looks good for the moment - I imagine most frontend code will be under |
Beta Was this translation helpful? Give feedback.
-
Upon further reading I've realized that django does it pretty differently from a separate client/server arch like a react-nodejs app. My gist of it is django has projects and apps, and I came across this article which looks a good hybrid way to incorporate the pros of django and also client-side rendering. The common practice seems to be setting up the django backend as a rest endpoint for the frontend to interact with. If no one has any convincing objections, I think this option would be preferable so we can use npm/webpack and keep front/back everything decoupled while developing. |
Beta Was this translation helpful? Give feedback.
-
I think this makes sense! The article interestingly pulls the |
Beta Was this translation helpful? Give feedback.
-
Noting this here, unless it belongs elsewhere.Web pages for VIM:
|
Beta Was this translation helpful? Give feedback.
-
ID of the language...updated my comment above to disambiguate. |
Beta Was this translation helpful? Give feedback.
-
This is my general understanding of how our stack is structured as I work on setting up the front end. Not too familiar with how containerizing with docker will look - will read up on it.
@PythonSemicolon any thoughts on the
client/
structure? naming or otherwise.@zhannaklimanova if you see any problems with this slack me!
I'm not entirely sure how frontend interacts with backend with docker. Is it any different with routing or cors by exposing anapi/
?Beta Was this translation helpful? Give feedback.
All reactions