Skip to content

AI-powered personalized learning plan generator using React, FastAPI, PostgreSQL, and Ollama. Generates weekly upskilling roadmap based on user's goals and skills.

License

Notifications You must be signed in to change notification settings

yashkusumkar02/SkillSetu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ SkillSetu β€” AI-Powered Personalized Learning Plan Generator

(Frontend + Backend + RAG + Ollama)

SkillSetu is a full-stack AI product that generates a personalized learning roadmap based on your goal, skills, and time availability.
It uses React (Vite + Tailwind) for UI, FastAPI for backend logic, PostgreSQL for plan storage, and Ollama (local LLM) for AI plan generation.


⭐ Features

Area Features
βœ… Authentication JWT login/register, token stored securely, route protection
βœ… Plans Dashboard View, delete, open AI plans
βœ… AI Auto Plan Generate multi-week learning plan using Ollama
βœ… System Status Shows if token + Ollama is working
βœ… RAG (optional) Chunking, embeddings, retrieval utilities
βœ… API-first Fully documented via FastAPI swagger (/docs)

πŸ“Έ Screenshots

πŸ” Login Page

Screenshot 2025-11-09 234633

πŸ“Š Plans List

Screenshot 2025-11-09 234642

πŸ€– Auto Plan Generation Screen

Screenshot 2025-11-09 234656

πŸ— Architecture

image

πŸ“ Monorepo Structure

SkillSetu/ β”œβ”€β”€ frontend/ # React + Vite + Tailwind + TS UI β”œβ”€β”€ backend/ # FastAPI backend + DB + Ollama integration β”œβ”€β”€ rag/ # RAG utilities (data ingestion, embeddings, retrieval) β”œβ”€β”€ docs/ # (optional) screenshots, diagrams └── README.md # <--- this file


🧠 Tech Stack

Layer Tech
Frontend React + Vite + TypeScript + Tailwind CSS + Axios + React Router
Backend FastAPI + PostgreSQL + SQLAlchemy + JWT Auth
AI Model (Local) Ollama (llama3, mistral, or others)
Optional RAG Python + embeddings + chunking

πŸš€ Setup Instructions (Local)

βœ… 1. Clone Repo

git clone https://github.com/<YOUR_USERNAME>/SkillSetu.git cd SkillSetu


βœ… 2. Backend Setup (FastAPI)

Install dependencies

cd backend python -m venv venv

Activate env:

Windows:

venv\Scripts\activate

Mac/Linux:

source venv/bin/activate

pip install -r requirements.txt

Configure environment

cp .env.example .env

Modify .env:

POSTGRES_HOST=localhost POSTGRES_PORT=5432 POSTGRES_DB=skillsetu POSTGRES_USER=postgres POSTGRES_PASSWORD=postgres OLLAMA_URL=http://localhost:11434

Start backend

uvicorn app.main:app --reload --port 8000

➑️ API Docs: http://localhost:8000/docs


βœ… 3. Start Ollama (LLM Server)

ollama serve

Pull model:

ollama pull llama3


βœ… 4. Frontend Setup (Vite + React)

cd frontend npm install cp .env.example .env

Set backend URL in .env:

VITE_API_BASE=http://localhost:8000

Run app:

npm run dev

➑️ Frontend: http://localhost:5173


βœ… 5. RAG Setup (Optional)

cd rag python -m venv venv source venv/bin/activate pip install -r requirements.txt cp .env.example .env


πŸ” Authentication Flow

Token stored in: localStorage β†’ skillsetu_token

Axios automatically attaches: Authorization: Bearer

401 β†’ redirects to /login


πŸ§ͺ APIs

Method Endpoint Description
POST /auth/auth/register Register user
POST /auth/auth/login Login & return JWT
GET /users/me Verify token
GET /plans/ List plans
POST /plans/auto Generate AI plan using Ollama
GET /plans/{id} Plan detail
DELETE /plans/{id} Delete plan

πŸ“„ License

MIT License


⭐ Author

Made with ❀️ by Deepak Kusumkar

About

AI-powered personalized learning plan generator using React, FastAPI, PostgreSQL, and Ollama. Generates weekly upskilling roadmap based on user's goals and skills.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published