vernonthedev/nestforge — reverse-engineered prompt
Reverse engineered prompt
I want a Rust backend framework that feels a lot like NestJS, but with Rust speed and safety. Build it so people can structure apps with modules, controllers, services, and simple dependency injection, then define HTTP routes with clean macros for get, post, put, and delete. It should have helpful request tools for params, body, query, headers, cookies, auth, validation, errors, route versioning, and a global API prefix.
Please also include generated OpenAPI docs with Swagger and Redoc, plus a CLI that can create a new app and scaffold modules, resources, guards, middleware, interceptors, and starter apps for different transports. If it fits the project, make GraphQL, gRPC, WebSocket, scheduling, config, and data features optional pieces instead of forcing everything into the core.
I also want example apps, tests, and clear docs so someone can clone the repo, run cargo check, start a sample server on port 3000, and quickly understand how to use it. Look up current Rust docs online if you need to.
Want more depth? Deep Reverse