An example project integrating Flask and Svelte, based on a tutorial posted here.
In order to set up this project, there are a few things to do.
client/ and run npm install -- this will install the dependencies for the client architecture.npm run autobuild from the client/ folder. This creates the .svelte-kit directory which Flask serves from.server/ and run python -m venv venv to create a virtual environment, and . venv/bin/activate to activate it.python -m pip install -r requirements.txt -- this will install the dependencies for the server architecture into your virtual environment.flask --debug run to start the server.Credit to Mia Adjei for a terrific tutorial, all I did was update it to use the newest SvelteKit and removed the Twilio API integration.