chore: migrate from PostgreSQL to MongoDB and update environment configuration

This commit is contained in:
2026-04-11 22:40:55 +02:00 Unverified
parent 9e033ce045
commit 4edc01977b
4 changed files with 35 additions and 19 deletions
+20 -1
View File
@@ -5,6 +5,25 @@ icona di una presa della spina idk
## Architettura
```
FastAPI + PostgreSQL + Redis
FastAPI + MongoDB + Redis
```
### Setup Dev
imposta le variabili d'ambiente
```bash
cp .env.example .env
# modifica le variabili
nano .env
```
avvia i servizi e il server locale
```bash
docker compose up -d mongodb redis
```
```bash
fastapi dev src/main.py
```
FastAPI docs: `http://localhost:3671/docs`