create-labdocks-app
v0.1.0
Published
CLI scaffolder for spec-first backend projects, with optional web app scaffold.
Readme
create-labdocks-app
CLI scaffolder for spec-first backend projects, with optional web app scaffold.
Quick start
From this monorepo root:
npm run create:labdocks-app -- my-product --installScaffold API + web together:
npm run create:labdocks-app -- my-product --with-web --installCreate directly under current workspace apps/:
npm run create:labdocks-app -- my-new-api --in-workspace --installGenerated structure
spec/platform-spec.ts(canonical spec starter)scripts/generate-from-spec.tsscripts/analyze-generated.ts- viewer files
- generated/handlers ownership boundaries
- app-local Dockerfile for API (Dokku-ready)
- optional web workspace (
--with-web) with app-local Dockerfile
CLI options
--name <value>
--directory <path>
--api-name <value>
--bounded-context <value>
--labdocks-version <value>
--in-workspace
--with-web
--web-name <value>
--installBuild
npm --workspace create-labdocks-app run build