No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Integrate a Flask backend with a Quasar app

    Framework
    2
    3
    943
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      rfcantao last edited by

      Hi!

      I am developing a scientific application using Quasar as the frontend and Python+Flask as the backend, running locally on the same machine. Python was chosen because of the SciPy ecosystem.

      Everything runs smoothly on Linux or Windows: the frontend passes data to the backend, numbers are crunched, results fly back and we have nice tables and plots.

      I can do the same on Android with Cordova. The point in question is that I have to install Termux and manually run the Flask server. Cumbersome, from the point of view of an user.

      I am at a loss here, as how to integrate Quasar and Python+Flask backend in a single APK (if that’s possible at all) and run the Python code as soon as the application starts.

      Any hints or tips will be very helpful!

      Thanks a lot!

      1 Reply Last reply Reply Quote 1
      • qyloxe
        qyloxe last edited by

        No clue how to run python+apk BUT maybe consider change from Flask to FastAPI:
        https://fastapi.tiangolo.com/

        1 Reply Last reply Reply Quote 2
        • R
          rfcantao last edited by

          @qyloxe thank you very much for the tip! I’m gonna check it.

          1 Reply Last reply Reply Quote 1
          • First post
            Last post