A lightweight mock test platform powered by FastAPI and Jinja2.
Reads an Excel question bank and serves 10 random questions by Question Type (Column A).
- Column A: Question Type
- Column B: Question
- Columns C–G: Options A–E
- Column J: Correct Answer (either the letter
A..Eor the exact option text)
Place your file at:
data/question_bank.xlsx.
- Create this repo on GitHub with the structure in this project.
- Put your Excel into
data/question_bank.xlsx. - Connect the repo to Vercel and deploy.
- (Optional) Set
SESSION_SECRETin Vercel Project → Settings → Environment Variables.
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -r requirements.txt
# Run locally
uvicorn api.index:app --reload --port 8000
# Open http://127.0.0.1:8000