Skip to content

Ayansaha20/PathPilot-AI

Repository files navigation

PathPilot AI

Find your path. Build your future.

PathPilot AI is an interactive career-guidance platform built for students, freshers, and early-career professionals. It turns the overwhelming question of “what should I learn next?” into clear career exploration, structured learning roadmaps, side-by-side comparisons, and contextual AI mentoring.

The problem

Career information is usually fragmented: role descriptions live in one place, learning resources in another, and personalised guidance is difficult to access. This makes it hard for learners to confidently choose a direction and make consistent progress.

Our solution

PathPilot AI brings the decision-making journey into one focused experience. Learners can explore curated career paths, understand the skills each path needs, follow a roadmap, compare options against their priorities, save promising careers, and ask an AI mentor for guidance.

Key features

  • Career discovery — browse 20+ curated career paths, filter by category and difficulty, or search by role, skill, and category.
  • Career details and roadmaps — view role overviews, skills, learning duration, salary ranges, demand indicators, projects, resources, and step-by-step learning paths.
  • Skill explorer — learn what each skill is, why it matters, and where it fits in a career path.
  • Career comparison — compare two roles with visual metrics such as salary, learning time, job demand, and difficulty; request an AI comparison for additional context.
  • AI career mentor — ask natural-language questions about careers, skills, and learning plans through a Gemini-powered assistant.
  • Progress and motivation — track roadmap progress, maintain a learning streak, receive daily tips, and celebrate milestones.
  • Personal shortlist — save favourite careers locally and revisit them whenever needed.
  • Polished, responsive UX — responsive layouts, animated transitions, accessible controls, and a dark glassmorphism interface.

Tech stack

Area Technologies
Frontend React 18, Vite, React Router
Styling Tailwind CSS, PostCSS
Motion & visuals Framer Motion, Lucide React, Canvas Confetti
Backend Node.js, Express, CORS
AI Google Gemini API (@google/generative-ai)
Persistence Browser localStorage for favourites, roadmap progress, and streaks

Architecture

React + Vite client (port 5173)
        |
        | /api requests (Vite proxy in development)
        v
Express API (port 8787)
        |
        | Gemini API key stays on the server
        v
Google Gemini

Career data, roadmaps, learning resources, daily tips, and comparison metrics are curated local data files, so the core exploration experience remains available without an AI request. The backend accepts the AI requests and keeps Gemini credentials out of the browser bundle.

Getting started

Prerequisites

  • Node.js 20 or later
  • npm
  • A Google Gemini API key (only required for AI features)

1. Install dependencies

Install the frontend dependencies:

npm install

Install the backend dependencies:

cd server
npm install
cd ..

2. Configure environment variables

Create server/.env and add your Gemini API key:

GEMINI_API_KEY=your_gemini_api_key
# Optional: use a different supported Gemini model
GEMINI_MODEL=gemini-2.5-flash
# Optional: comma-separated frontend origins for deployed clients
FRONTEND_URL=http://localhost:5173

To use a separately deployed backend, copy .env.example to .env in the project root and set its public URL:

VITE_API_URL=https://your-api.example.com

Leave VITE_API_URL empty for local development; Vite proxies /api calls to http://localhost:8787.

Never commit real API keys. Root .env files are ignored by Git; keep server/.env private as well.

3. Run locally

Start the API in one terminal:

cd server
npm run dev

Start the frontend in another terminal:

npm run dev

Open the URL Vite prints (normally http://localhost:5173). The API health check is available at http://localhost:8787/api/health.

Available scripts

Location Command Purpose
Project root npm run dev Start the Vite development server
Project root npm run build Create a production frontend build in dist/
Project root npm run preview Preview the production frontend build
server/ npm run dev Start the API with file watching
server/ npm start Start the API normally

Deployment

Deploy the frontend as a static Vite site and the server/ directory as a Node/Express service.

  1. Deploy the backend and set GEMINI_API_KEY, GEMINI_MODEL (optional), and FRONTEND_URL to the URL of the deployed frontend.
  2. Set VITE_API_URL in the frontend deployment environment to the backend’s public URL.
  3. Build the frontend with npm run build and deploy the generated dist/ directory.

The server also supports numbered Gemini keys such as GEMINI_API_KEY_1 and GEMINI_API_KEY_2; it attempts available keys in order, which can help with quota resilience.

Project structure

PathPilotAI/
├── src/
│   ├── components/      # UI, layout, charts, roadmap, and AI components
│   ├── data/            # Curated careers, skills, roadmaps, resources, and tips
│   ├── hooks/           # Progress, streak, and favourites hooks
│   ├── pages/           # Route-level screens
│   └── utils/           # Data access, AI client, and local-storage helpers
├── server/
│   └── index.js         # Express API and Gemini integration
├── public/              # Static assets
└── vite.config.js       # Vite configuration and local API proxy

Hackathon impact

PathPilot AI is designed to make career planning more actionable and less intimidating. Instead of presenting learners with generic advice, it combines curated path data with interactive progress tracking and an on-demand AI mentor. The result is a practical starting point for making informed, personalised career decisions.

Future scope

  • User accounts and cloud-synced progress
  • Personalised recommendations based on goals and skill assessments
  • Verified course, certification, internship, and job links
  • Mentor communities and feedback loops
  • Analytics that adapt roadmaps to learner progress

License

This project is currently unlicensed. Add a license before using or distributing it beyond the hackathon context.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors