TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Who Did Separate a Django's Front End?

1 pointsby Fazel94almost 5 years ago
I need some advice and general thoughts on how to move my Django monolith's front-end to a front-end library. Is it a good thing in of itself? How should I approach it? How did you approach it? What did you learn from doing it?

1 comment

cyberpantheralmost 5 years ago
I normally like to use Graphene to create a GraphQL API. Then you can use Vue, React, Angular, etc to build your frontend. You&#x27;ll convert your read views to Queries that are rendered on the frontend. A big part of the change is likely tied up in Django Forms. You can use these forms in Graphene and convert them to mutations. <a href="https:&#x2F;&#x2F;docs.graphene-python.org&#x2F;projects&#x2F;django&#x2F;en&#x2F;latest&#x2F;mutations&#x2F;#django-forms" rel="nofollow">https:&#x2F;&#x2F;docs.graphene-python.org&#x2F;projects&#x2F;django&#x2F;en&#x2F;latest&#x2F;m...</a>
评论 #24143297 未加载