gohorsejobs/backoffice
Tiago Yamamoto 9ee9f6855c feat: implementar múltiplas features
Backend:
- Password reset flow (forgot/reset endpoints, tokens table)
- Profile management (PUT /users/me, skills, experience, education)
- Tickets system (CRUD, messages, stats)
- Activity logs (list, stats)
- Document validator (CNPJ, CPF, EIN support)
- Input sanitizer (XSS prevention)
- Full-text search em vagas (plainto_tsquery)
- Filtros avançados (location, salary, workMode)
- Ordenação (date, salary, relevance)

Frontend:
- Forgot/Reset password pages
- Candidate profile edit page
- Sanitize utilities (sanitize.ts)

Backoffice:
- TicketsModule proxy
- ActivityLogsModule proxy
- Dockerfile otimizado (multi-stage, non-root, healthcheck)

Migrations:
- 013: Profile fields to users
- 014: Password reset tokens
- 015: Tickets table
- 016: Activity logs table
2025-12-27 11:19:47 -03:00
..
src feat: implementar múltiplas features 2025-12-27 11:19:47 -03:00
test test(backoffice): 🧪 added e2e test setup 2025-12-15 09:44:25 -03:00
.env.example feat(migration): move admin cloudflare routes to backoffice and cleanup backend 2025-12-15 10:52:40 -03:00
.gitignore feat(backoffice): 🏗️ initialized NestJS backoffice API 2025-12-15 09:44:16 -03:00
.prettierrc feat(backoffice): 🏗️ initialized NestJS backoffice API 2025-12-15 09:44:16 -03:00
Dockerfile feat: implementar múltiplas features 2025-12-27 11:19:47 -03:00
eslint.config.mjs feat(backoffice): 🏗️ initialized NestJS backoffice API 2025-12-15 09:44:16 -03:00
nest-cli.json feat(backoffice): 🏗️ initialized NestJS backoffice API 2025-12-15 09:44:16 -03:00
package-lock.json feat(migration): move admin cloudflare routes to backoffice and cleanup backend 2025-12-15 10:52:40 -03:00
package.json feat(migration): move admin cloudflare routes to backoffice and cleanup backend 2025-12-15 10:52:40 -03:00
README.md docs(backoffice): 📖 added README because reading is fundamental 2025-12-15 09:44:17 -03:00
tsconfig.build.json feat(backoffice): 🏗️ initialized NestJS backoffice API 2025-12-15 09:44:16 -03:00
tsconfig.json fix: add explicit types array to fix babel__core type error 2025-12-15 10:08:48 -03:00

Backoffice API - NestJS

GoHorse Jobs SaaS Administration and Subscription Management API.

Features

  • 💳 Stripe Integration - Payment processing and subscriptions
  • 📊 Dashboard Stats - Platform analytics
  • 👥 User Management - Admin controls for users
  • 🏢 Company Management - Tenant administration
  • 📋 Subscription Plans - Monthly/yearly plans

Tech Stack

  • NestJS 10+
  • TypeScript
  • Stripe SDK
  • Swagger (OpenAPI)

Getting Started

npm install
npm run start:dev

Environment Variables

PORT=3001
STRIPE_SECRET_KEY=sk_test_xxx
STRIPE_WEBHOOK_SECRET=whsec_xxx

API Documentation

Visit: http://localhost:3001/api/docs

Docker

docker build -t gohorse-backoffice .
docker run -p 3001:3001 gohorse-backoffice