Skip to content

A quick combination of a Flask backend with a Svelte Frontend

Notifications You must be signed in to change notification settings

HardieParham/FlaskSvelteTemplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Svelte.js + Flask

A super simple example of using Flask as a backend server to serve a fronted Svelte app.

This example just queries the Flask server for a random number.

Run the following for development:

  • python -m venv venv to create a virtual environment.
  • pip install -r requirements.txt to install dependencies.
  • python server.py to start the Flask server.
  • cd client; npm install; npm run autobuild to automatically build and reload the Svelte frontend when it's changed.

About

A quick combination of a Flask backend with a Svelte Frontend

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published