mbc-net/mbc-cqrs-serverless — reverse-engineered prompt
Reverse engineered prompt
Build me a TypeScript framework and starter setup for making serverless business apps on AWS with NestJS. I want it to help developers create an API quickly, using a CQRS style where writes and reads are separated, with events saved for an audit trail.
It should include a simple CLI that can create a new project, install what it needs, build it, and run it locally. Local development should work with Docker so people can test without paying for AWS while they build.
The framework should handle the common hard parts for SaaS apps, like tenant separation, role based access, command publishing, reading data back, syncing from DynamoDB to a relational database, sequence numbers, async tasks, and importing data from CSV or REST. Please include a small todo style example so it’s obvious how to add a CRUD endpoint.
Use sensible defaults, clear docs, and make it feel production ready. Look up current AWS and NestJS docs if you need to.
Want more depth? Deep Reverse