mirror of
https://origin.cursor.com/mrdevmx/panels.git
synced 2026-10-09 22:23:18 +00:00
Adds .cursor/environment.json plus install/start scripts to provision the full PANELS stack (Postgres 16 + Redis + Deno API + two Nuxt frontends): - install.sh: installs toolchain, provisions DB roles/schemas + Redis ACLs, runs Liquibase (dev context), bootstraps seed admins, installs web deps. - start.sh: brings up Postgres + Redis per boot (idempotent). - terminals: api (:8000), web-panel (:3000), web-saas (:3001). Co-authored-by: alberto.martinez <alberto.martinez@mrdev.mx>
27 lines
854 B
JSON
27 lines
854 B
JSON
{
|
|
"name": "PANELS (panel-obra)",
|
|
"install": "bash .cursor/install.sh",
|
|
"start": "bash .cursor/start.sh",
|
|
"terminals": [
|
|
{
|
|
"name": "api",
|
|
"command": "export PATH=\"$HOME/.deno/bin:$PATH\"; cd api && deno task dev",
|
|
"description": "API Deno/Hono en http://localhost:8000 (Postgres + Redis)."
|
|
},
|
|
{
|
|
"name": "web-panel",
|
|
"command": "cd web-panel && npm run dev -- --host",
|
|
"description": "Frontend del panel (Nuxt SPA) en http://localhost:3000; proxy /v1 -> API."
|
|
},
|
|
{
|
|
"name": "web-saas",
|
|
"command": "cd web-saas && npm run dev -- --host",
|
|
"description": "Frontend SaaS (Nuxt SPA) en http://localhost:3001; proxy /v1 -> API."
|
|
}
|
|
],
|
|
"ports": [
|
|
{ "name": "api", "port": 8000 },
|
|
{ "name": "web-panel", "port": 3000 },
|
|
{ "name": "web-saas", "port": 3001 }
|
|
]
|
|
}
|