Complete full-stack web app (PDF → Quiz generator) — React + Node + MongoDB

Job ID: 39861405

Budget: ₹600 – ₹1,500 INR

✅ What’s Already Done

Node.js + TypeScript backend (Express)

MongoDB connection and schemas (Pdf, Attempt)

File upload endpoint using multer

PDF text extraction using pdf-parse

Quiz generation endpoint (works with local Gemma 2B or Hugging Face)

Quiz submission + scoring logic

You can run the backend right away with:

npm run dev


or start it alongside Ollama for local AI generation.

* What’s Needed

Frontend (React + TypeScript)

Page to upload PDFs and show upload progress

Page to list uploaded PDFs

Page to view and take the generated quiz (multiple-choice questions)

Page to show quiz results and attempt history

* API Integration

Connect to existing endpoints:

POST /api/upload

GET /api/pdfs

POST /api/generate-quiz

POST /api/submit-quiz

GET /api/attempts (optional)

Handle success and error states cleanly

Minor backend cleanup

Validate inputs and handle errors gracefully

Optional: add CORS config for the frontend port

* Testing

Make sure the flow works end-to-end locally:

Upload PDF → Generate quiz → Take quiz → See score

* Tech Stack

Frontend: React, TypeScript, ShadCN UI or plain CSS (your choice)

Backend: Node.js (Express + TypeScript)

Database: MongoDB (local)

AI Model: Gemma 2B via Ollama (already working)

Environment: Local demo (no cloud deployment needed)

* Deliverables

Complete working app runnable with:

npm run dev # backend
npm start # frontend


Clear README with setup steps

Basic UI that looks clean and responsive (doesn’t need to be fancy)

Code pushed to GitHub or zipped for submission

* Timeline

Preferably completed within 1–2 days.
This is a small project but needs someone who can move fast and confidently with React + Node.

* Budget

₹2,000 – ₹5,000 INR (or USD 25–60), depending on how complete and polished the final version is.

* I Will Provide

Working backend code (Node.js + MongoDB)

Sample PDF

.env.example

Project instructions and endpoints list

* Bonus

If you have experience running Ollama or local LLMs, mention it — that will help speed up testing.