shashirajraja/Train-Ticket-Reservation-System ? reverse-engineered prompt

Reverse engineered prompt

Build me a simple train ticket reservation website where users can register, log in, search trains, check seat availability, see timings and fares, find trains between stations, and book seats online. After booking, they should be able to see their ticket history and update their profile or password.

I also need an admin side where I can log in and add, update, view, or remove trains, plus manage my profile and log out. Please make it feel like a real booking system with a clean Bootstrap based front end and the usual login and logout flow. Use a Java web app setup with server side pages and database driven data so the train list, bookings, and history are actually stored and retrieved properly. If anything needs current setup details, look up the latest docs online and wire it up so I can run it locally with sample data.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab