Web app with HTML/JS frontend and python as backend
- pip
- fastapi
- unicorv
- bokeh
- numpy
- aiofiles
pip install fastapi uvicorn[standard] aiofiles bokeh numpy
uvicorn main:app --reload
This code is written in run_server.sh
.
Read the output message and copy paste the url into your server (e.g. http://127.0.0.1:8000)
No need to stop the server when using unicorv
with the --reload
option.
- refresh the browser
- nothing
(unless code is executed when page is just open => then reload the page)