Lean, TypeScript-first API powering HireMind's user profile and interview experiences.
- 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.
| 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 |
-
Setup: Run the setup script.
./setup.sh # Sets up .env and installs dependencies -
Run: Start the server.
npm run dev # Runs on localhost:4000
| Variable | Default | Description |
|---|---|---|
PORT |
4000 |
Server port |
MONGODB_URI |
mongodb://localhost:27017/hiremind |
Database connection string |
CORS_ORIGIN |
http://localhost:3000 |
Allowed frontend origin |