Skip to content

How to deploy NiceGUI application to a website? #20

Closed Answered by rodja
200729 asked this question in Q&A
Discussion options

You must be logged in to vote

Good question. I've added the new section "Deployment" to our README: https://github.com/zauberzeug/nicegui/blob/main/README.md#deployment
Does that help you to get started? Or is something crucial missing?

About your question for integration with other web frameworks like Flask:
NiceGUI is based on JustPy which is based on the ASGI framework Starlette and the ASGI webserver Uvicorn. This is a fundamentally different stack than Flask. In NiceGUI you can define Starlette routes with any data response you like (see https://nicegui.io/#route). With this you can add RESTful endpoints, provide file downloads and similar.
If you want to run different web frameworks side by side, I suggest you p…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@rodja
Comment options

Answer selected by rodja
Comment options

You must be logged in to vote
1 reply
@rodja
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants