Live data from Hacker News

Ask HN: Can I create a mobile and Web App using a Python/Python Framework?

news.ycombinator.com

1–10 of 15 posts

Re: Ask HN: Can I create a mobile and Web App using a Python/Python Framework?

#2
Web app is possible with Django but creating mobile version will be challenging as options are not much.

Your best option is to create backend api with python frameworks like Django Rest Frameworks or FastAPI. Frontend can be React which can be used for both web and mobile using React Native.

I had previous experience in python but had to learn React to handle similar requirements.

It's always best to use the right tool for right job.

I am actually satisfied that I went this route, added new skills and possibilities

Re: Ask HN: Can I create a mobile and Web App using a Python/Python Framework?

#5

Web app is possible with Django but creating mobile version will be challenging as options are not much. Your best option is to create backend api with python frameworks like Django Rest Frameworks or FastAPI. Frontend can be React which can be used for both web and mobile using React Native. I had previous experience in python but had to learn React to handle similar requirements. It's always best to use the right t…

Sounds good, thank you. I will consider React for the frontend part of my app.

Re: Ask HN: Can I create a mobile and Web App using a Python/Python Framework?

#8
Most frameworks if architected properly on the backend are scalable.

You might want to check out the Quasar framework (Vue.js) as an alternative to React. It's a single framework that lets you build web applications and mobile applications with a single codebase. This is frontend only but will complement with Django REST API/Flask/FastAPI.

Personally, found it a lot faster and easier working with Vue.js/Quasar but documentation can also be tricky. Chat GPT has helped in this instance.

Re: Ask HN: Can I create a mobile and Web App using a Python/Python Framework?

#10
For reference, YouTube runs on Python[1,2,3]:

> 1. Python and Django: YouTube’s backend is predominantly written in Python, offering a balance of performance and readability.

> 2. Google Cloud Platform...

> 3. Java and C++: YouTube also utilizes Java and C++ for specific backend services, as they provide better performance for certain tasks.

---

A long time ago, I looked into these Python frameworks:

- http://www.web2py.com/

- https://kivy.org/

[1]: https://blogopost.com/youtube-tech-stack/#backend

[2]: https://medium.com/@shanthanaroja99/technology-stack-behind-...

[3]: https://youtu.be/G-lGCC4KKok

Post reply on HN