Initial commit

This commit is contained in:
2025-04-02 22:29:37 +02:00
commit c03c0ae3e5
39 changed files with 5445 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
import os
import motor.motor_asyncio
from beanie import Document
from fastapi_users.db import BaseOAuthAccount, BeanieBaseUser, BeanieUserDatabase
from pydantic import Field
DATABASE_URL = "mongodb://localhost:27017"
client = motor.motor_asyncio.AsyncIOMotorClient(
DATABASE_URL, uuidRepresentation="standard"
)
db = client["database_name"]