[英]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.