StudIA è una piattaforma AI per studenti e lavoratori universitari.
Carichi le slide o un PDF, e il sistema genera automaticamente:
- ✅ Riassunto
- ✅ Flashcard (formato Anki)
- ✅ Quiz con risposte commentate
- ✅ Mappa mentale
- ✅ Audio-lezione
StudIA/
├── frontend/ # Angular app (interfaccia utente)
├── backend/ # FastAPI + AI services (riassunti, quiz, TTS...)
└── README.md
- Node.js >= 18
- npm
- Angular CLI (
@angular/cli)
- Python >= 3.10
- Poetry (gestione ambienti Python)
git clone https://github.com/gmottola00/StudIA.git
cd StudIAcd backend
poetry install # Installa le dipendenze
poetry shell # Entra nell'ambiente virtuale
uvicorn app.main:app --reload📄 Crea un file .env nella cartella backend/:
SUPABASE_URL=...
SUPABASE_KEY=...
OPENAI_API_KEY=...
cd frontend
npm install
ng serve➡️ Il frontend sarà disponibile su: http://localhost:4200
➡️ Il backend sarà su: http://localhost:8000
backend/.env
SUPABASE_URL=https://xxxx.supabase.co
SUPABASE_KEY=your_key_here
OPENAI_API_KEY=sk-...
| Funzione | Comando |
|---|---|
| Avvia backend | poetry shell && uvicorn app.main:app --reload |
| Avvia frontend | cd frontend && ng serve |
| Esporta dipendenze | poetry export -f requirements.txt --output requirements.txt --without-hashes |
| Installa Angular CLI | npm install -g @angular/cli |
| Installa Node con nvm | nvm install 18 && nvm use 18 |
backend/app/
├── main.py # Entry point FastAPI
├── routes/ # Endpoint REST (es. /upload, /summary)
├── models/ # Pydantic models
├── services/ # Logica AI, Supabase, TTS
├── utils/ # Funzioni comuni
- Setup Angular + FastAPI
- Upload file e parsing
- Generazione AI (riassunto, quiz, flashcard)
- Output PDF + audio TTS
- Dashboard utente con cronologia studio