hapijs/hapi ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple Node.js web framework for making APIs and web apps, with an easy way to create a server, add routes, handle requests and responses, and organize features into plugins. I want it to feel lightweight but still powerful, so it should support common things like route parameters, query data, request validation, error handling, and clean ways to extend the app without a lot of boilerplate.
Please make it secure by default and pleasant to use, with clear docs and examples for getting started fast. If you need to check current best practices or API details online, go ahead and look them up. Also include a solid test suite so the core behavior is reliable.
Are you gonna build this?
make sure you review the code using coderabbit