Learn Smarter, Not Harder - an AI-powered visual learning engine that turns any goal into a personalized mastery roadmap in seconds.
- Frontend (Vercel): https://vectorvisionarymindmapgenerator.vercel.app
- Backend API (Render): https://devstakes-project.onrender.com
- API Docs (Swagger): https://devstakes-project.onrender.com/api/docs
โ ๏ธ Backend is hosted on Render's free tier โ it may take 30โ50 seconds
to wake up on first request. Please wait before testing.
Full project walkthrough (YouTube): https://www.youtube.com/watch?v=nrUbXmgg0iE
Traditional online learning is broken for motivated learners:
- Content is fragmented across platforms (docs, videos, repos, blogs) with no guided sequence.
- Most learners do not know what to learn next, causing decision fatigue and drop-off.
- Generic courses ignore personal constraints like time available, current skill level, and weak areas.
- Progress tracking is shallow, so users lose momentum and consistency.
Why it matters:
In fast-moving tech domains, the ability to learn quickly and systematically is a competitive advantage. Learners need an intelligent system that provides structure, context, and motivation - not another content dump.
Vector Visionary is a full-stack AI learning platform that generates adaptive, node-based roadmaps for any topic and helps users execute them end-to-end.
- User enters a topic + available study time.
- System generates a personalized, dependency-aware roadmap graph.
- Each node unlocks deep AI-generated notes, quiz-based reinforcement, and practical resources.
- Progress is gamified with XP, levels, streaks, and history to build long-term learning discipline.
What makes it unique:
- Time-aware roadmap generation (15 min to 2+ hour plans)
- Dynamic graph architecture with unlock logic and progression
- Multi-provider GenAI pipeline (fast primary + resilient fallback)
- A polished, immersive frontend that feels product-grade, not prototype-grade
flowchart TD
A[Landing / welcome] --> B{Logged in?}
B -->|No| C[Email login]
C --> D[Topic + time budget]
B -->|Yes| D
D --> E[POST /api/generate-roadmap]
E --> F[Interactive roadmap graph]
F --> G[Select node]
G --> H[Notes / quiz / tutor]
H --> I[XP + progress sync]
I --> J[History + AI suggestions]
J --> D
| Pain point | What Vector Visionary does |
|---|---|
| No clear learning path | Time-aware, prerequisite-style roadmap graph |
| Passive reading | Quizzes, streaks, XP, and an AI tutor |
| Scattered resources | Curated links and structured deep-dive notes |
| No sense of progress | History, levels, and personalized next topics |
- Immersive landing + onboarding experience with motion, particles, and micro-interactions to maximize first-impression impact.
- Interactive roadmap graph UI with node relationships, branching paths, and visual learning progression.
- Smart dashboard flow for login, topic input, time selection, history recall, and suggestion-driven generation.
- Responsive and premium UX patterns using modern component design, animations, and state-driven UI updates.
- Gamified interaction loop with visible XP progression, streak mechanics, and instant action feedback.
- FastAPI-powered modular backend with clean endpoint separation for auth, roadmap generation, notes, quiz, tutor chat, history, and suggestions.
- User profile + progression persistence (email-based auth, profile setup, XP and level sync).
- Roadmap history engine that lets users revisit previously generated learning paths.
- Structured data storage via SQLAlchemy + SQLite (extensible to production databases).
- CORS-enabled service layer ready for decoupled frontend deployment.
- Personalized topic recommendations generated from recent learning history.
- Adaptive roadmap complexity based on selected time window and topic scope.
- Difficulty and reward shaping (node difficulty, XP rewards, unlock progression) to optimize retention and motivation.
- Learning-path personalization loop using prior behavior signals (history + recent topics).
- AI roadmap generation that returns structured, context-rich node content (outcomes, prerequisites, time estimates, resources).
- AI deep-dive notes generator producing concept breakdowns, mistakes, rules, examples, and next-step prompts.
- AI quiz generator with progressive MCQs for active recall and reinforcement.
- AI tutor chat for contextual explanation, examples, and guidance.
- Resilient multi-model strategy (primary provider + fallback provider) for reliability under rate limits.
High-level architecture is designed for modularity, scalability, and hackathon-speed iteration:
- Frontend Layer (React + TypeScript + Vite):
- UI/UX, state orchestration, graph rendering, user actions
- API Layer (FastAPI):
- Stateless HTTP endpoints for auth, AI generation, progress, history
- Data Layer (SQLAlchemy + SQLite):
- Users, progression metrics, roadmap persistence
- AI Orchestration Layer:
- Prompt pipelines for roadmap, notes, quiz, tutor, suggestions
- Provider failover for robustness (Groq primary, Gemini fallback)
flowchart LR
A[React Frontend] --> B[FastAPI Backend]
B --> C[(SQL Database)]
B --> D[GenAI Provider 1]
B --> E[GenAI Provider 2 Fallback]
B --> F[Personalization + Recommendation Logic]
F --> B
B --> A
flowchart TD
R[API receives prompt] --> G{Groq available?}
G -->|Yes| GQ[Call Groq Llama 3.3]
GQ --> OK{Valid JSON / text?}
OK -->|Yes| OUT[Return to client]
OK -->|No| GM{Gemini available?}
G -->|No| GM
GM -->|Yes| GEM[Call Gemini 2.0 Flash]
GEM --> OUT
GM -->|No| FB[Structured fallback content]
FB --> OUT
sequenceDiagram
participant U as Learner
participant FE as React app
participant API as FastAPI
participant DB as Database
participant AI as LLM providers
U->>FE: Topic + minutes
FE->>API: POST /api/generate-roadmap
API->>AI: Curriculum JSON prompt
AI-->>API: Nodes + context
API->>API: Layout + guardrails
API->>DB: Persist roadmap
API-->>FE: nodes + edges
FE-->>U: Render graph
Scalability mindset:
- API-first architecture supports web/mobile clients.
- LLM calls are isolated behind service functions for easy provider swaps.
- DB abstraction supports migration from SQLite to Postgres without frontend changes.
- Feature modules (roadmap, notes, quiz, tutor) can scale independently.
| Layer | Stack | Why it matters |
|---|---|---|
| UI | React 19, TypeScript, Vite | Fast dev, typed components, production builds |
| Styling & motion | Tailwind CSS, Framer Motion, GSAP | Polished UX without sacrificing iteration speed |
| State & routing | Zustand, React Router | Simple global state + clear navigation |
| Visual graph | @xyflow/react, Dagre |
Node-based roadmaps that feel interactive, not static |
| Backend | FastAPI, Uvicorn | Async-friendly APIs with automatic OpenAPI docs |
| Data | SQLAlchemy, SQLite (dev) | Persistent users, roadmaps; easy Postgres migration |
| GenAI | Groq + Gemini | Speed + redundancy under rate limits |
| Quality | ESLint, Pydantic | Safer refactors and validated payloads |
| Endpoint | Method | Purpose |
|---|---|---|
/api/auth/login |
POST | Create or fetch user by email |
/api/user/setup |
POST | Profile display name + photo |
/api/user/progress |
POST | Sync XP and level |
/api/generate-roadmap |
POST | Build graph from topic + time budget |
/api/generate-notes |
POST | Structured reference notes for a node |
/api/generate-quiz |
POST | MCQ set for active recall |
/api/ai-tutor/chat |
POST | Contextual tutor replies |
/api/history/{email} |
GET | List saved roadmaps |
/api/suggestions |
POST | Next topics from recent history |
Full interactive docs: Swagger UI
| Minutes selected | Nodes generated | Typical use |
|---|---|---|
| โค 20 | 4 | Quick review |
| 21โ40 | 5 | Focused session |
| 41โ60 | 6 | Standard learn block |
| 61โ90 | 8 | Deep dive |
| > 90 | 10 | Full mastery pass |
| Criterion | Weight | One-line proof |
|---|---|---|
| Core functionality | 30 | Login โ generate graph โ notes/quiz/tutor โ persist history |
| UI/UX | 20 | Motion, graph UX, clear primary actions, responsive layout |
| Performance | 15 | Vite build, lean API payloads, scoped UI updates |
| Clean code | 15 | Separated API client, store, routes, and AI services |
| Git practices | 10 | Branch-per-feature workflow, reviewable PRs |
| Deployment | 5 | Env-based config, CORS-ready split deploy |
- Complete user journey is functional: login -> topic selection -> roadmap generation -> node exploration -> AI notes/quiz/chat -> progress sync -> history recall.
- End-to-end integration across frontend, backend, persistence, and AI services demonstrates real product viability.
- Fallback logic ensures the app still works when one model provider is constrained.
- Interface is intentionally crafted to feel like a premium product: animated hero, interactive cards, visual roadmap graph, elegant transitions.
- Clear user flow minimizes friction and cognitive load.
- Responsive component patterns and concise feedback loops improve usability under demo pressure.
- Vite-based build pipeline for fast dev and production builds.
- Frontend renders are optimized via modular state and scoped UI updates.
- Efficient API design with focused payloads keeps interactions snappy.
- Architecture supports additional optimizations like route-level lazy loading and CDN-backed static delivery.
- Strong separation of concerns: UI components, state store, API client, backend routes, DB models.
- Reusable component structure and typed models improve maintainability.
- Prompt generation and parsing are encapsulated for easier testing and iteration.
- Consistent conventions and modular files reduce onboarding time for collaborators.
- Team-friendly workflow with feature-based branches and incremental commits.
- Clear separation between frontend, backend, and AI integration workstreams.
- PR-ready modular commits enable easier review and conflict reduction.
- Hackathon-speed delivery balanced with traceable changes and collaborative integration.
- Frontend and backend are live and publicly accessible โ deployed on Vercel (frontend) and Render (backend) with zero manual setup required for judges.
- Frontend (Vercel): https://vectorvisionarymindmapgenerator.vercel.app/roadmap โ production build served via global CDN for fast load times worldwide.
- Backend (Render): https://devstakes-project.onrender.com โ live REST API with full Swagger/OpenAPI docs at
/api/docsfor transparent, explorable endpoints. - CORS and API abstraction simplify multi-environment rollout.
- Environment-based config cleanly separates dev and production secrets.
- Architecture supports stable live demo links and continuous uptime on modern cloud platforms.
git clone <your-repo-url>
cd DevStakes_Projectcd frontend
npm installCreate frontend/.env (optional if API URL is hardcoded):
VITE_API_BASE_URL=http://127.0.0.1:8000/apicd ../backend
python -m venv venv
# Windows
venv\Scripts\activate
# macOS/Linux
# source venv/bin/activate
pip install -r requirements.txtCreate backend/.env:
GROQ_API_KEY=your_groq_api_key
GEMINI_API_KEY=your_gemini_api_keyuvicorn main:app --reloadcd frontend
npm run dev- Frontend:
http://localhost:5173 - Backend docs:
http://127.0.0.1:8000/docs
- Import
frontendas project root. - Build command:
npm run build - Output directory:
dist - Add env:
VITE_API_BASE_URL=https://<your-backend-domain>/api
- Deploy and verify all routes + API calls.
- Deploy
backendas a Python web service. - Start command:
uvicorn main:app --host 0.0.0.0 --port $PORT - Set environment variables:
GROQ_API_KEYGEMINI_API_KEY
- Configure persistent database (Postgres recommended for production).
- Update CORS origins with your deployed frontend URL.
- Real-time learning analytics dashboard (completion probability, weak-concept heatmaps).
- Spaced repetition engine with adaptive revision scheduling.
- Collaborative learning rooms and mentor mode.
- Interview-mode roadmaps for role-specific preparation (SDE, ML, Product, etc.).
- Voice Based AI tutor and multimodal note generation.
- Enterprise-ready LMS integrations and cohort-level progress tracking.
Vector Visionary is not just a demo - it is a complete, intelligent learning product that combines modern frontend engineering, robust backend design, practical AI integration, and a clear user-value loop.
Built in 84 hours, it showcases execution speed, technical depth, and product thinking.