-
How to deploy nicegui application to the website? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Good question. I've added the new section "Deployment" to our README: https://github.com/zauberzeug/nicegui/blob/main/README.md#deployment About your question for integration with other web frameworks like Flask: |
Beta Was this translation helpful? Give feedback.
-
Hi, I get a 404 on the last url. - https://nicegui.io/reference#server_hosting |
Beta Was this translation helpful? Give feedback.
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…