No description
  • TypeScript 76.3%
  • PowerShell 21.5%
  • Dockerfile 1.1%
  • JavaScript 0.6%
  • CSS 0.4%
  • Other 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Carlos Quiros e1c7416ac6
All checks were successful
build-and-deploy / build-and-deploy (push) Successful in 58s
feat(dashboard): add search and pagination to request log table
Let operators browse the full api_logs history instead of a fixed slice.
- Support q/method/page/pageSize on GET /api/dashboard
- Add debounced search, method filter, page size and prev/next controls in the panel
2026-08-02 21:19:41 -06:00
.forgejo/workflows Ensure /opt/gerapi is writable before scp in Forgejo deploy. 2026-08-02 17:27:38 -06:00
app feat(dashboard): replace landing with authenticated ops panel 2026-08-02 21:07:42 -06:00
components/dashboard feat(dashboard): add search and pagination to request log table 2026-08-02 21:19:41 -06:00
deploy feat: add run.ps1 menu and harden API security 2026-08-02 18:40:39 -06:00
docs feat(dashboard): replace landing with authenticated ops panel 2026-08-02 21:07:42 -06:00
lib feat: add run.ps1 menu and harden API security 2026-08-02 18:40:39 -06:00
prisma Initial commit: API REST gerAPI para nóminas y RRHH de EDINTEL. 2026-08-02 13:44:13 -06:00
scripts Point Forgejo deploy at the Docker VM used by ci, not SQL WireGuard. 2026-08-02 17:14:55 -06:00
server feat(dashboard): add search and pagination to request log table 2026-08-02 21:19:41 -06:00
tests feat(dashboard): add search and pagination to request log table 2026-08-02 21:19:41 -06:00
.dockerignore Initial commit: API REST gerAPI para nóminas y RRHH de EDINTEL. 2026-08-02 13:44:13 -06:00
.env.example feat: add run.ps1 menu and harden API security 2026-08-02 18:40:39 -06:00
.gitignore feat: add run.ps1 menu and harden API security 2026-08-02 18:40:39 -06:00
.gitlab-ci.yml Initial commit: API REST gerAPI para nóminas y RRHH de EDINTEL. 2026-08-02 13:44:13 -06:00
AGENTS.md feat: add run.ps1 menu, harden API security, remove unused admin panel 2026-08-02 18:47:40 -06:00
CHANGELOG.md feat: add run.ps1 menu, harden API security, remove unused admin panel 2026-08-02 18:47:40 -06:00
Dockerfile Initial commit: API REST gerAPI para nóminas y RRHH de EDINTEL. 2026-08-02 13:44:13 -06:00
gerAPI.code-workspace Initial commit: API REST gerAPI para nóminas y RRHH de EDINTEL. 2026-08-02 13:44:13 -06:00
next.config.mjs Initial commit: API REST gerAPI para nóminas y RRHH de EDINTEL. 2026-08-02 13:44:13 -06:00
package-lock.json feat: add run.ps1 menu, harden API security, remove unused admin panel 2026-08-02 18:47:40 -06:00
package.json feat: add run.ps1 menu, harden API security, remove unused admin panel 2026-08-02 18:47:40 -06:00
PENDING_COMMIT.example.md feat: add run.ps1 menu and harden API security 2026-08-02 18:40:39 -06:00
playwright.config.ts Initial commit: API REST gerAPI para nóminas y RRHH de EDINTEL. 2026-08-02 13:44:13 -06:00
postcss.config.js Initial commit: API REST gerAPI para nóminas y RRHH de EDINTEL. 2026-08-02 13:44:13 -06:00
README.md feat(dashboard): replace landing with authenticated ops panel 2026-08-02 21:07:42 -06:00
run.ps1 feat: add run.ps1 menu and harden API security 2026-08-02 18:40:39 -06:00
tailwind.config.js Initial commit: API REST gerAPI para nóminas y RRHH de EDINTEL. 2026-08-02 13:44:13 -06:00
tsconfig.json Initial commit: API REST gerAPI para nóminas y RRHH de EDINTEL. 2026-08-02 13:44:13 -06:00
vitest.config.ts Initial commit: API REST gerAPI para nóminas y RRHH de EDINTEL. 2026-08-02 13:44:13 -06:00
vitest.setup.ts Initial commit: API REST gerAPI para nóminas y RRHH de EDINTEL. 2026-08-02 13:44:13 -06:00

gerAPI

API REST para la gestión de nóminas, empleados, conceptos y horas extras. Integrada con el ERP (Softland/Exactus) vía Prisma y SQL Server.

Quick Start

  1. npm install
  2. Copiar .env.example a .env y configurar credenciales de SQL Server y API
  3. Ejecutar npm run db:generate para generar el Prisma Client
  4. npm run dev (levanta en puerto 3010)

Features

  • API REST documentada con OpenAPI 3.1 y UI Scalar en /api/reference
  • Autenticación básica (Basic Auth) para todos los endpoints
  • Gestión de nóminas: empleados, conceptos, horas extras, nóminas periódicas
  • Integración ERP: lectura directa a tablas del ERP vía Prisma (erpPrisma)
  • Auditoría API: tabla api_logs y panel de control en / (Basic Auth)
  • Tests: unitarios con Vitest (jsdom) y E2E con Playwright (Chromium, Firefox, WebKit)
  • Deploy automatizado: scripts PowerShell para 1Panel con Docker

Tech Stack

  • Next.js 16 (output standalone)
  • React 19 + TypeScript
  • Prisma 5 + SQL Server
  • Hono + Zod OpenAPI
  • Tailwind CSS v4
  • Vitest + Playwright

Documentation

Scripts principales

Comando Descripción
npm run dev Next.js dev server en puerto 3010
npm run build Build de producción (standalone)
npm run test Tests unitarios con Vitest
npm run test:e2e Tests E2E con Playwright
npm run db:studio Prisma Studio para inspeccionar datos
npm run db:migrate Ejecutar migraciones Prisma
.\run.ps1 Menú: dev, tests, commit (PENDING_COMMIT.md), deploy Forgejo
npm run deploy:forgejo Push a main → build/deploy en Forgejo (https://gerapi.ae360.pro)