@x12i/memorix-schema-api
v1.8.0
Published
HTTP API for Memorix Schema Manager — metadata control plane, Mapix BFF, and abstraction routes.
Readme
@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 testCLI: 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:devProduction
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 serveDocker (monorepo root context): see Dockerfile and docs/DEPLOY.md.
Mapix integration: docs/MAPIX-INTEGRATION.md.
