KalR94/open-api — reverse-engineered prompt
Reverse engineered prompt
Build me a simple, lightweight API website starter from this repo. I want it to run as a small JavaScript app where each endpoint is easy to add as a separate router plugin, so I can drop in new API routes without rewriting the whole project.
Please make sure it has a homepage or index that can automatically list the available API routes, and each route should support basic settings like request method, query parameters, and the actual handler logic. I also want the useful safety features from the README working, including showing the visitor IP, optional IP whitelist protection, and per minute rate limiting on routes that need it.
Keep it easy to customize and clean enough that someone can copy an example route and make a new one fast. Include one sample endpoint like the tempo search example so I can see how it works. Make sure it runs locally and is ready for simple hosting. If anything is unclear, check the current docs or package behavior online and wire it up in the most sensible way.
Want more depth? Deep Reverse