api backend for an ai-powered "last-minute study" app. generates topic-based notes + quiz questions.
- fastapi: lightweight async web framework.
- pydantic: schema validation, type hints.
- groq: llm integration for text gen.
- python-decouple: env var mgmt.
- clone repo.
python -m venv venv && source venv/bin/activate(win:venv\Scripts\activate).pip install -r requirements.txt.- create
.envw/GROQ_API_KEY=<your_key>.
uvicorn app.main:app --reload
docs at /docs.
frontend next. db support later. auth maybe.