# {{projectName}}

Generated by `prisma orm init` with the Minimal template.

## First run

1. `{{runDbUp}}` — start the local MongoDB replica set with `mongodb-memory-server`. Data persists in `.mongo-data/` across restarts.
2. `{{runDev}}` — runs `src/index.ts`, which writes one row and reads it back.

## Available scripts

- `{{runDev}}` — run the Prisma ORM sample script

### Database and migrations

- `{{runContractEmit}}` — emit contract artifacts after contract changes
- `{{runDbUp}}` — start the local MongoDB replica set with `mongodb-memory-server`. Data persists in `.mongo-data/` across restarts.
- `{{runDbDown}}` — stop the local MongoDB process (data preserved)
- `{{runDbReset}}` — stop and wipe `.mongo-data/` for a clean slate
- `{{runMigrationPlan}}` — create a MongoDB migration plan
- `{{runMigrate}}` — apply the planned MongoDB migration
- `{{runDbSeed}}` — insert sample users manually

## Prisma ORM

Prisma ORM setup is scaffolded in:

- `{{contractPath}}`
- `prisma.config.ts`
- `prisma/db.ts`
- `src/lib/prisma.ts`

For provider-specific Prisma ORM reference docs, see `prisma-8.md`. Prisma ORM skills live in the upstream `skills/` directory: https://github.com/prisma/prisma/tree/main/skills.

Node-based Prisma ORM projects expect Node.js 24 LTS or newer.
