Adarshsinghsikarwar/Travel-App-backend — reverse-engineered prompt
Reverse engineered prompt
Build me a simple backend for a travel app in JavaScript. I want it to feel like a real starting point for a mobile or web app, with APIs for user accounts, travel destinations or packages, and trip bookings or reservations. Users should be able to sign up, log in, browse available trips, see trip details, and create, update, or cancel a booking. Please include a database setup, basic authentication, input validation, clear error responses, and environment config so I can run it locally without a lot of work.
Keep the code organized and easy to extend, and add some sample data if that makes sense so I can test it quickly. I would also like a short readme that explains how to install it, run it, and try the main API routes. If anything is unclear, make sensible choices and look up current docs online if you need to.
Want more depth? Deep Reverse