Licence
exellix-license
Version
1.8.0
Deps
15
Size
314 kB
Vulns
0
Weekly
0
@x12i/memorix-schema-api
HTTP API for the Memorix Schema Manager: Fastify server, Authix auth, metadata routes, Mapix BFF, and abstraction runtime.
Paired with @x12i/memorix-schema-ui (React client). Same split as memorix-explorer-api + memorix-explorer.
npm install
cp .env.example .env # configure Mongo, Catalox, Authix, optional MAPix_API_URL
npm run dev # tsx serve on :5180
npm run build && npm run serve
npm test
CLI: memorix-schema-api serve
Local dev with hot-reload UI
From the client package:
cd ../memorix-schema-ui
npm run dev # starts API (:5180) + Vite (:5174)
Or run separately:
# terminal 1
cd memorix-schema-api && npm run dev
# terminal 2
cd memorix-schema-ui && npm run ui:dev
Production
Build the client, copy static assets into the API dist/public, then serve:
cd memorix-schema-api && npm run build
cd ../memorix-schema-ui && npm run build
cp -r dist/public ../memorix-schema-api/dist/public
cd ../memorix-schema-api && npm run serve
Docker (monorepo root context): see Dockerfile and docs/DEPLOY.md.
Mapix integration: docs/MAPIX-INTEGRATION.md.