expressjs/express ? reverse-engineered prompt
Reverse engineered prompt
Build me a fast, minimalist web framework for Node.js that lets someone create a web server with just a few lines of code. I want it to feel simple for beginners, like creating an app, adding routes such as get or post, sending text or JSON responses, redirecting users, and starting the server on a port.
Please keep it flexible and don’t force a database, folder setup, or template system. It should support normal websites, single page apps, and public APIs. Add solid routing, useful HTTP response helpers, content negotiation, and a way to plug in different view engines later.
Include clear examples, especially a tiny Hello World server that runs locally at port 3000. Also add tests so I can trust the basic routing and response behavior works. If it makes sense, include a simple starter command or example app so someone can quickly create a new project and run it.
Are you gonna build this?
make sure you review the code using coderabbit