Can python/flask websites be hosted on firebase?

后端 未结 1 519
一向
一向 2020-12-11 13:26

I have a website that uses python/flask, and I know that firebase hosting is only for static websites, but I need to be able to use firebase cloud functions in my app, and t

相关标签:
1条回答
  • 2020-12-11 13:48

    You don't need Firebase Hosting for using Firebase Functions, and as you mentioned Firebase Hosting is for static pages.

    Firebase Functions are hosted on firebase (independent from Firebase Hosting for static pages), and currently don't support python.

    For HTTP trigger Firebase Functions you simply make HTTP requests to your function's url, from any backend or from frontend itself.

    Firebase DB/Storage and other trigger functions work in the same way, but don't explicitly call then they are triggered on specific events in DB/Storage etc. that you specify when defining functions.

    0 讨论(0)
提交回复
热议问题