You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Скопіювати .env
cp backend/.env.example backend/.env
# Запустити все
docker-compose up --build
# Backend: http://localhost:3000# Frontend: http://localhost:5173
Варіант 2: Локально (для розробки)
# 1. Запустити тільки БД
docker-compose up postgres -d
# 2. Backendcd backend
cp .env.example .env
npm install
npm run dev
# 3. Frontend (в іншому терміналі)cd frontend
npm install
npm run dev
POST /api/auth/register { name, email, password, role }
POST /api/auth/login { email, password }
GET /api/auth/me 🔒 token required
Jobs
GET /api/jobs ?city=Kyiv&category=Backend&minSalary=1000
GET /api/jobs/:id
POST /api/jobs 🔒 employer only
PUT /api/jobs/:id 🔒 employer only
DELETE /api/jobs/:id 🔒 employer only
Applications
POST /api/applications 🔒 seeker only
GET /api/applications/my 🔒 seeker only
GET /api/applications/job/:id 🔒 employer only
PATCH /api/applications/:id/status 🔒 employer only