Skip to content

Latest commit

Β 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ HireMind AI

AI-powered mock interview platform that simulates real-world technical interviews using dynamic question generation, secure authentication, and scalable full-stack architecture.


🌐 Live Demo

πŸ”— Frontend: https://hire-mind-ai-ten.vercel.app πŸ”— Backend API: https://hiremind-ai-3wl2.onrender.com


🧠 What is HireMind AI?

HireMind AI is a full-stack intelligent interview simulator designed to replicate real interview environments.

It enables users to:

  • Practice interviews with AI-generated questions
  • Experience structured interview sessions
  • Track progress through session-based workflows
  • Access premium features via secure payment integration

Unlike static practice platforms, HireMind AI introduces dynamic, context-aware questioning, making preparation closer to real-world scenarios.


✨ Key Features

πŸ€– AI-Powered Interview Engine

  • Dynamic question generation based on role/domain
  • Adaptive flow to simulate real interview progression
  • Integrates AI APIs for intelligent responses

πŸ” Secure Authentication System

  • JWT-based authentication
  • Protected API routes
  • Middleware-driven authorization flow

🧾 Session-Based Interview Tracking

  • Persistent interview sessions
  • Structured flow management
  • Scalable session handling via backend services

πŸ’³ Payment Integration (Razorpay)

  • Secure payment handling for premium features
  • API-based transaction flow
  • Ready for subscription-based expansion

⚑ Modern Frontend Experience

  • Built with React + Vite
  • Fast, responsive UI
  • Component-based scalable design

πŸ—οΈ Architecture Overview

Frontend (Vercel - CDN)
        ↓
Backend (Render - Node/Express API)
        ↓
Database (MongoDB)
        ↓
External Services (AI APIs, Razorpay)

🧰 Tech Stack

🎨 Frontend

  • React (Vite)
  • JavaScript (ES6+)
  • CSS

βš™οΈ Backend

  • Node.js
  • Express.js

πŸ—„οΈ Database

  • MongoDB

πŸ” Authentication

  • JSON Web Tokens (JWT)

πŸ’³ Payments

  • Razorpay API

☁️ Deployment

  • Frontend: Vercel
  • Backend: Render

πŸ“ Project Structure

HireMind-AI/
β”‚
β”œβ”€β”€ backend/
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ config/        # Configuration files
β”‚   β”‚   β”œβ”€β”€ controllers/   # Route logic
β”‚   β”‚   β”œβ”€β”€ services/      # Business logic layer
β”‚   β”‚   β”œβ”€β”€ routes/        # API routes
β”‚   β”‚   β”œβ”€β”€ models/        # Database schemas
β”‚   β”‚   β”œβ”€β”€ middlewares/   # Auth & error handling
β”‚   β”‚   └── app.js         # Express app setup
β”‚   β”œβ”€β”€ server.js          # Entry point
β”‚   └── package.json
β”‚
β”œβ”€β”€ frontend/
β”‚   β”œβ”€β”€ src/               # React components
β”‚   β”œβ”€β”€ index.html
β”‚   β”œβ”€β”€ vite.config.js
β”‚   └── package.json
β”‚
└── README.md

βš™οΈ Local Setup Guide

1️⃣ Clone the Repository

git clone https://github.com/aryandevtyagi10/HireMind-AI.git
cd HireMind-AI

2️⃣ Install Dependencies

Backend

cd backend
npm install

Frontend

cd frontend
npm install

3️⃣ Environment Configuration

Create .env in /backend:

PORT=5000
MONGO_URI=your_mongodb_uri
JWT_SECRET=your_jwt_secret
GOOGLE_GENAI_API_KEY=your_ai_key
RAZORPAY_KEY_ID=your_key
RAZORPAY_KEY_SECRET=your_secret
CLIENT_URL=http://localhost:5173

Create .env in /frontend:

VITE_API_URL=http://localhost:5000

4️⃣ Run the Application

Start Backend

cd backend
npm run dev

Start Frontend

cd frontend
npm run dev

πŸ” Authentication Flow

  1. User signs up / logs in
  2. JWT token is generated on backend
  3. Token is stored on client
  4. Protected routes validate token via middleware

πŸ”„ Application Workflow

  1. User selects role/domain
  2. AI generates relevant interview questions
  3. Session is initialized and stored
  4. User interacts with interview flow
  5. Backend tracks responses and progress

πŸš€ Deployment Strategy

Frontend (Vercel)

  • Static hosting with global CDN

  • Environment variable:

    VITE_API_URL=https://hiremind-ai-3wl2.onrender.com
    

Backend (Render)

  • Node.js web service
  • Environment variables configured securely
  • Handles API + business logic

πŸ“ˆ Design Highlights

  • Clean layered architecture (Controller β†’ Service β†’ Route)
  • Stateless authentication (JWT)
  • Fully decoupled frontend & backend
  • Production-ready deployment setup
  • Scalable codebase for future expansion

πŸ§ͺ Future Enhancements

  • 🎀 Voice-based interview simulation
  • 🧠 AI-based answer evaluation & scoring
  • πŸ“Š Performance analytics dashboard
  • πŸ“± Mobile responsiveness improvements
  • ☁️ AWS deployment (EC2 / Lambda / S3)

πŸ‘¨β€πŸ’» Author

Aryan Dev Tyagi πŸ“§ aryandevtyagi10@gmail.com πŸ”— https://github.com/aryandevtyagi10


⭐ Support

If you found this project useful:

  • ⭐ Star the repository
  • 🍴 Fork and contribute
  • 🧠 Share feedback

β€œPractice like it's real. Perform like it's nothing.”

About

AI-powered mock interview platform with dynamic question generation, JWT authentication, Razorpay integration, and scalable full-stack architecture (React + Node + MongoDB).

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages