简体   繁体   English

如何使 flutter 移动应用程序与 django 网络应用程序相关联?

[英]How to make flutter mobile app associated to a django webapp?

I have a django webapp , which is a repository for alumni.我有一个django webapp ,它是校友的存储库。 Users can sign up using the extended user model and fill-in multiple fields.用户可以使用扩展用户 model 注册并填写多个字段。 Then there is a detail page for each user that shows their respective data.然后是每个用户的详细信息页面,显示他们各自的数据。 All this is built using function based views .所有这些都是使用基于 function 的视图构建的。 This bit is fine.这点没问题。 But I also want to make its corresponding mobile apps for android and ios hopefully in flutter otherwise react native .但我也希望在flutter中为 android 和 ios 制作相应的移动应用程序,否则会反应原生 My question is, should I host this as it is, or there are some basic things that I already need in the code so I can make a REST API and connect mobile apps later?我的问题是,我应该按原样托管它,还是我已经在代码中需要一些基本的东西,以便我可以制作 REST API 并稍后连接移动应用程序? I don't really have any knowledge about mobile apps and connecting django's REST API?我真的对移动应用程序和连接django的REST API一无所知? So please guide me in this regard.所以请在这方面指导我。 Thanks:)谢谢:)

There two ways to do it based in my knowldge:根据我的知识,有两种方法可以做到:

1- using flutter web view in packages website only pick the best pkg for you. 1- 使用 flutter web 查看包网站只为您选择最好的 pkg。

2-or using HTTPS req by http pkg and make sure you have get and post in your backend like flask in paython or laraval php. 2-or using HTTPS req by http pkg and make sure you have get and post in your backend like flask in paython or laraval php.

I hope I answred your question:)我希望我回答了你的问题:)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我有一个现有的 Django Webapp,如何制作 rest API 以将 webapp 与 ZC31B323617ECCECA84 集成 - I have an existing Django Webapp, how do I make a rest API to integrate the webapp with an android app? 是否可以在 Django 中制作移动应用程序? - Is it possible to make a mobile app in Django? 如何使查询集等于 django webapp 中的列表? - How to make queryset equal to list in django webapp? django-cms:如何从与之关联的应用程序中获取页面 - django-cms: how to get the Page from an app associated with it 是否有任何所见即所得的应用程序可用于制作简单 django webapp 的前端页面? - Is there any wysiwyg app which I can use to make the frontend pages of a sinmple django webapp? 如何使用 Django 为 Flutter web 应用程序提供服务? - How to serve a Flutter web app with Django? 在Django 1.7中删除app(和相关的数据库表) - Remove app (and associated database tables) in Django 1.7 如何制作“永久链接”详细信息页面,以在Google App Engine webapp2留言簿教程中显示两个图像 - How to make a 'permalink' detail page displaying two images in Google App Engine webapp2 guestbook tutorial 如何让South在Heroku中为Django应用程序工作 - How to make South works in Heroku for a Django app 如何在Django应用程序中进行Facebook登录? - How to make Facebook Login possible in Django app ?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM