Skip to content

HireMind-AI/backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HireMind Backend ⚙️

Node.js Express TypeScript MongoDB

Lean, TypeScript-first API powering HireMind's user profile and interview experiences.

Features ⚡

  • Minimal Surface: Focused endpoints for /user, /interview, and /resume.
  • Strict Typing: End-to-end TypeScript safety.
  • Fast: Optimized for speed with a tiny middleware stack.

API Overview 📡

Method Path Purpose
GET /health Infrastructure heartbeat
GET /user/me Authenticated user profile
POST /interview/start Initialize interview session
POST /interview/message Conversation turn
GET /interview/history User's past interviews

Getting Started 🛠️

  1. Setup: Run the setup script.

    ./setup.sh
    # Sets up .env and installs dependencies
  2. Run: Start the server.

    npm run dev
    # Runs on localhost:4000

Environment Variables

Variable Default Description
PORT 4000 Server port
MONGODB_URI mongodb://localhost:27017/hiremind Database connection string
CORS_ORIGIN http://localhost:3000 Allowed frontend origin

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Contributors 2

  •  
  •