vapor/vapor ? reverse-engineered prompt
Reverse engineered prompt
I want you to build a server side Swift HTTP web framework that makes it easy to create websites, JSON APIs, and cloud services.
It should let me define routes, handle requests and responses, add middleware, work well with async code, and support modern HTTP features like HTTP 2. I’d like a clean, expressive API that feels nice to use in Swift, plus solid test coverage and good performance. Please make sure it includes the usual pieces a framework needs, like app setup, routing, error handling, basic server support, and a simple way to organize code for real projects.
If you need to check current Swift or server docs while implementing it, go ahead and look them up online. Keep the code polished and production ready, and make sure the project builds and the tests pass.
Are you gonna build this?
make sure you review the code using coderabbit