# Dev Server — BrandApp Playground

> An in-memory BrandApp API on port 4300 so the whole SDK surface works offline.

- Canonical page: https://brandapp-playground.vercel.app/dev-server
- Markdown: https://brandapp-playground.vercel.app/dev-server.md
- SDK module: `@reopt-ai/brandapp-sdk/dev`

## Quick start

```bash
REOPT_DEV_MODE=true next dev
```

## What it covers

- `createDevServer()` — create the server programmatically with a schema
- Seed data — pre-populate the in-memory database from `reopt.seed.ts`
- `instrumentation.ts` — start the dev server on Next.js boot
- A bootstrap module that injects environment variables, so existing SDK clients point at the
  local server without any code change

The dev server also mocks the OIDC endpoints, which is what makes the single-logout demo
runnable with no network.

## Related

- [Testing Utilities](https://brandapp-playground.vercel.app/testing.md)
- [Quick Start](https://brandapp-playground.vercel.app/getting-started.md)
- [Schema Sync](https://brandapp-playground.vercel.app/eav/sync.md)

---

Index of every document: https://brandapp-playground.vercel.app/llms.txt
Single-file copy: https://brandapp-playground.vercel.app/llms-full.txt
HTTP API description: https://brandapp-playground.vercel.app/openapi.json
