[Python] desktop flutter app with flask as backend

Discussão em 'Python' iniciado por Stack, Abril 19, 2025.

  1. Stack

    Stack Membro Participativo

    the problem is i have my desktop flutter app done and also i have the flask backend that uses ml models etc thats not my part of the project so idk i just run the backend api in localhost and my flutter app connects to the wanted endpoints but in production i need just one exe file(its okey if it requires some files and folders with it)but the user should only run the desktop app and all works

    soo there is twoo options i think(cuz we dont want to deploy the back end we want to just integrate it to flutter): 1- either rewrite the flask code to flutter (and thats impossible cuz i only have 1 day for the app to be done) 2- a methode to combine the two flutter folder and flask folder and make one exe that when it run it startss the server and launch the app.

    i need a simple(recommended) solution or any solution asap please and thank you for your time

    Continue reading...

Compartilhe esta Página