flask_svelte Svelte Themes

Flask_svelte

Scafolding for project with Flask and Svelte

Template for Flask + Svelte

This project is a template for a project with:

  • Flask for backend
    • WebSockets
  • Svelte for frontend
    • Material UI

This scaffolding is for a fast create a new project you must change next files:

Setup

cd frontend
npm install
 npm run-script autobuild

Setup backend

python3 -m venv venv
. venv/bin/activate
pip3 install -r requeriments.txt 
``
To run:
- python ./app.py

# Struct
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
# Run

# References
- Start a svelte project:
  https://svelte.dev/blog/svelte-for-new-developers

npx degit sveltejs/template frontend cd frontend npm install


-  [Flask-Diamond:Project Initialization and Scaffolding](https://flask-diamond.readthedocs.io/en/latest/scaffolding/):
  - It fails with Python 3.8, It seems unmaintained (last build 2017!)
  

Top categories

Loading Svelte Themes