# @actuate-media/cms-core

The core of [Actuate CMS](https://github.com/actuate-media/actuatecms): data
layer (Prisma/Postgres), auth & security, the full `/api/cms/*` REST API,
section registry, forms backend, SEO tooling, and the config types every other
package builds on.

```bash
npm install @actuate-media/cms-core
```

## Entry points

| Import                                  | Purpose                                                                 |
| --------------------------------------- | ----------------------------------------------------------------------- |
| `@actuate-media/cms-core`               | Actions, auth, security, storage/adapters, config types                 |
| `@actuate-media/cms-core/config`        | `defineConfig()` for `actuate.config.ts`                                |
| `@actuate-media/cms-core/api`           | `handleActuateAPI()` — mount the REST API in any runtime                |
| `@actuate-media/cms-core/page-sections` | Section registry, `defineSectionTypes()`, coercion + validation helpers |
| `@actuate-media/cms-core/forms/client`  | Client-safe form validation (no Node deps)                              |
| `@actuate-media/cms-core/next`          | Next.js helpers (routes, middleware)                                    |

Most projects scaffold with [`create-actuate-cms`](https://www.npmjs.com/package/create-actuate-cms)
instead of wiring this package by hand.

## Release notes

See [CHANGELOG.md](./CHANGELOG.md) (shipped with the package) or the
[GitHub releases](https://github.com/actuate-media/actuatecms/releases).

## License

MIT
