Hire U
This repository is organized as an npm monorepo.
apps/web: Vite + React frontend for Vercelapps/api: Express API server for Railway or another Node hostpackages/shared: shared jobs, companies, and TypeScript models
Run Locally
Prerequisites: Node.js
- Install dependencies:
npm install - Set
GEMINI_API_KEYin.env.localfor AI features. - Run the frontend:
npm run dev:web - Run the API in another terminal:
npm run dev:api
For local frontend API calls, set VITE_API_URL=http://localhost:3000 in apps/web/.env.local or run through the API dev server.
Build
- Web only:
npm run build - Web and API:
npm run build:all - Type-check all workspaces:
npm run lint
Deploy to Vercel
Import the repository in Vercel and keep the project root at the repository root. The included vercel.json configures:
- Install command:
npm install - Build command:
npm run build -w @hireu/web - Output directory:
apps/web/dist
Set VITE_API_URL in Vercel to the deployed API URL, for example https://your-api.up.railway.app.
Deploy the API
The Express API can stay on Railway. The included railway.toml runs npm run build:all and starts @hireu/api.
Set these API environment variables on Railway:
GEMINI_API_KEYCORS_ORIGIN, usually your Vercel URLSMTP_HOST,SMTP_PORT,SMTP_USER,SMTP_PASS,SMTP_FROMif you want real email delivery
Log in or sign up for Devpost to join the conversation.