Spaces:
Sleeping
Sleeping
| from fastapi import FastAPI | |
| from routes import users | |
| from config import db | |
| app = FastAPI() | |
| app.include_router(users.router) | |
| def read_root(): | |
| users= db.collection("users").document("YLTkM3Hs4tOg4wjsZLn7") | |
| print(users.get()._data) | |
| return {"message": "User Management System with Firebase is running", | |
| "users": users.get()._data | |
| } | |