https://github.com/pythoninthegrass/scaling_svelte
https://github.com/pythoninthegrass/scaling_svelte
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pythoninthegrass/scaling_svelte
- Owner: pythoninthegrass
- Created: 2021-12-20T01:50:41.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-12-20T01:50:43.000Z (about 4 years ago)
- Last Synced: 2025-01-11T16:50:23.988Z (about 1 year ago)
- Language: JavaScript
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Svelte.js + Flask
A super simple example of using Flask to serve a Svelte app and use it as a backend server.
Run the following for development:
- `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.
This example just queries the Flask server for a random number.