Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QUESTION] Recommended way to use Pyrebase4 with FastAPI? #25

Closed
JuniorGunner opened this issue Jan 14, 2021 · 6 comments
Closed

[QUESTION] Recommended way to use Pyrebase4 with FastAPI? #25

JuniorGunner opened this issue Jan 14, 2021 · 6 comments

Comments

@JuniorGunner
Copy link

JuniorGunner commented Jan 14, 2021

Can I use Pyrebase4 with FastAPI? I didn't find any info or examples of use with FastAPI.

@nhorvath
Copy link
Owner

nhorvath commented Jan 14, 2021 via email

@JuniorGunner
Copy link
Author

JuniorGunner commented Jan 14, 2021

It's a framework to develop REST API's quick. Like Flask and django-rest-framework.
https://fastapi.tiangolo.com/

@nhorvath
Copy link
Owner

nhorvath commented Jan 14, 2021 via email

@JuniorGunner
Copy link
Author

I think compatible is not the right word. I wanted to know how to setup the comunication between FastAPI and the firebase data storage (Firestore) through Pyrebase4.

@JuniorGunner JuniorGunner changed the title Compatible with FastAPI? [QUESTION] Recommended way to use Pyrebase4 with FastAPI? Jan 14, 2021
@nhorvath
Copy link
Owner

That would be all your code, using this inside of fast api.

@JuniorGunner
Copy link
Author

JuniorGunner commented Jan 14, 2021

I've got this answer on FastAPI opened issue: fastapi/fastapi#2651 (comment)
I think this is what I was looking for. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants