New service checklist
npx @rpallas/outcrop-cli create service <name> [--http-api] [--queue-consumer] [--event-subscriber] [--scheduled] [--static-site] [--dynamodb|--neon] [--auth none|jwt-auth0|jwt-cognito|api-key]- Review
platform.config.tsanddocs/decisions.md. npm ci && npm run lint && npm test && npx cdk synth -c env=dev- Add repository variables and environments (see
github-setup.md). - Open a pull request and confirm the preview deploys and the integration tests pass.
- Merge;
service-deploy.ymlpromotes through environments.
Layout
text
<name>/
platform.config.ts
cdk.json
package.json # workspaces: app, infra
app/src/handlers/ # Lambda handlers using @rpallas/outcrop-runtime
app/tests/unit/
app/tests/integration/
infra/bin/app.ts # new PlatformApp({ config })
infra/lib/service-stack.ts
infra/tests/service-stack.snapshot.test.ts
.github/workflows/{checks,preview,deploy}.yml
docs/decisions.md