# @x12i/memorix-schema-api

> HTTP API for Memorix Schema Manager — metadata control plane, Mapix BFF, and abstraction routes.

Latest version **1.8.0** (published 2026-07-06) · exellix-license license · 0 weekly downloads

## Install

```sh
npm install @x12i/memorix-schema-api
pnpm add @x12i/memorix-schema-api
yarn add @x12i/memorix-schema-api
bun add @x12i/memorix-schema-api
```

Provides the command `memorix-schema-api`.

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.8.0 |
| Published | 2026-07-06 |
| First published | 2026-06-30 |
| Weekly downloads | 0 |
| License | exellix-license |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=20 |
| Dependencies | 15 |
| Unpacked size | 314.2 KB |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | x12i |

## Links

- npm: https://www.npmjs.com/package/@x12i/memorix-schema-api
- Repository: https://github.com/x12i/memorix-mono-repo
- Homepage: https://github.com/x12i/memorix-mono-repo#readme
- Issues: https://github.com/x12i/memorix-mono-repo/issues
- npm.io page: https://npm.io/package/@x12i/memorix-schema-api

## Dependencies (15)

- [fastify](https://npm.io/package/fastify.md) ^5.8.5
- [mongodb](https://npm.io/package/mongodb.md) ^6.21.0
- [@fastify/helmet](https://npm.io/package/@fastify/helmet.md) ^13.0.2
- [@fastify/static](https://npm.io/package/@fastify/static.md) ^9.1.3
- [@x12i/memorix-mongo](https://npm.io/package/@x12i/memorix-mongo.md) ^1.5.0
- [@x12i/memorix-agents](https://npm.io/package/@x12i/memorix-agents.md) ^1.2.1
- [@x12i/memorix-hippox](https://npm.io/package/@x12i/memorix-hippox.md) ^1.4.0
- [@x12i/memorix-schema](https://npm.io/package/@x12i/memorix-schema.md) ^1.4.0
- [@x12i/memorix-writer](https://npm.io/package/@x12i/memorix-writer.md) ^1.11.0
- [@x12i/mapix-contracts](https://npm.io/package/@x12i/mapix-contracts.md) ^1.0.0
- [@x12i/countex-pipelines](https://npm.io/package/@x12i/countex-pipelines.md) ^1.0.1
- [@x12i/memorix-retrieval](https://npm.io/package/@x12i/memorix-retrieval.md) ^1.30.0
- [@x12i/memorix-completion](https://npm.io/package/@x12i/memorix-completion.md) ^1.0.0
- [@x12i/memorix-abstraction](https://npm.io/package/@x12i/memorix-abstraction.md) ^1.0.0
- [@x12i/memorix-descriptors](https://npm.io/package/@x12i/memorix-descriptors.md) ^1.21.0

## Recent versions

- 1.8.0 (latest) — 2026-07-06
- 1.7.0 — 2026-06-30
- 1.6.0 — 2026-06-30
- 1.5.0 — 2026-06-30
- 1.4.0 — 2026-06-30

## 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`.

```bash
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:

```bash
cd ../memorix-schema-ui
npm run dev                   # starts API (:5180) + Vite (:5174)
```

Or run separately:

```bash
# 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:

```bash
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](./Dockerfile) and [docs/DEPLOY.md](./docs/DEPLOY.md).

Mapix integration: [docs/MAPIX-INTEGRATION.md](./docs/MAPIX-INTEGRATION.md).

---
_Source: https://npm.io/package/@x12i/memorix-schema-api · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
