Minimal monorepo for an AI Workshop Starter Kit nodejs app with Nextjs, Fastify, Prisma, and PostgreSQL support:
apps/api: Fastify 5 + TypeScript API with Prisma 7 + PostgreSQL supportapps/web: Next.js 16 + React 19 frontend with localizeden/dehealth pagesdocker/: Docker Compose fragments for running the API, Postgres, and web app
GET /- generic API infoGET /v1/internal/public/health- API health check
- Node.js
>=24 - pnpm
10.30.2 - Docker + Docker Compose v2
- Copy environment file:
cp .env.example .env- Install dependencies:
corepack enable
pnpm install- Run apps locally:
pnpm dev- API:
http://localhost:15988/v1/internal/public/health - Web:
http://localhost:15987
docker compose -f docker-compose.dev.yml up -d --buildServices:
app_databaseapp_api_database_migrationsapp_apiapp_web
From repo root:
pnpm --filter api test:unit
pnpm --filter api test:integration
pnpm --filter web test:unitIntegration DB helpers:
pnpm test:api:int:db:up
pnpm test:api:int:db:downSchema lives in apps/api/prisma/schema.prisma.
pnpm --filter api prisma:generate
pnpm --filter api prisma:migrate