Skip to content

YamiKnigth/modpack-editor

Repository files navigation

modpack-editor

Implementacion V1 funcional de CraftForge Web (API + worker + UI basica + Docker).

Documentacion inicial

Stack implementado

  • Backend: Node.js + TypeScript + Express
  • Worker: BullMQ + Redis
  • DB: PostgreSQL
  • Cache/Broker: Redis
  • UI V1: HTML/JS (nginx)
  • Orquestacion: Docker Compose

Ejecutar V1

Prerequisitos:

  • Docker + Docker Compose
  • Node.js 20+
  • API key disponible en secret.properties (ya soportado por el backend)

Opcion rapida

npm run bootstrap:v1

Opcion manual

npm install
docker compose up -d --build database cache-broker backend-api queue-worker frontend
docker compose exec -T backend-api npm run migrate
curl -fsS http://localhost:3000/healthz

URLs:

Smoke test E2E

npm run smoke:v1

Este test valida:

  • health
  • crear modpack
  • buscar mods en CurseForge
  • agregar mod
  • encolar export
  • completar job
  • descargar ZIP

Endpoints V1 principales

  • GET /healthz
  • GET /api/v1/system/minecraft/versions
  • GET /api/v1/system/minecraft/modloaders
  • GET /api/v1/modpacks
  • POST /api/v1/modpacks
  • GET /api/v1/modpacks/{modpackId}
  • DELETE /api/v1/modpacks/{modpackId}
  • GET /api/v1/mods/search
  • POST /api/v1/modpacks/{modpackId}/mods
  • DELETE /api/v1/modpacks/{modpackId}/mods/{projectId}
  • POST /api/v1/modpacks/{modpackId}/exports
  • GET /api/v1/exports/{jobId}
  • GET /api/v1/exports/{jobId}/download

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages