Asucexio/food-delivery-api ? reverse-engineered prompt
Reverse engineered prompt
Build me a Food Delivery API in TypeScript that can handle the basic backend for a delivery app.
I want it to let users sign up and log in, browse restaurants and menu items, place orders, and track order status from pending to delivered. It should also support admins or restaurant owners managing restaurants, menus, and updating orders. Use the SQL schema as the source of truth for the database, and make sure the API matches the Postman collection so I can test the main flows right away.
Please set it up cleanly with sensible validation, error handling, and environment based config. If anything is unclear, look at the existing files and use current docs online if you need to. I’d also like the project to be ready to run locally with a simple setup, plus a few useful example endpoints or seed data if that helps demonstrate the flow.
Are you gonna build this?
make sure you review the code using coderabbit