A full-stack ASP.NET and SQL Server-based web application designed to manage railway operations efficiently. The system allows users to book tickets, view train schedules, and manage passenger information through an intuitive HTML/CSS/JavaScript frontend.
π οΈ Tech Stack Frontend: HTML5, CSS3, JavaScript
Backend: ASP.NET (C#)
Database: Microsoft SQL Server
Architecture: MVC (Model-View-Controller)
π Features π Train Schedule Viewer: View upcoming train timings and routes
π§Ύ Ticket Booking: Reserve seats with validation and confirmation
π₯ Passenger Management: Add, update, or remove passenger details
π Admin Panel (optional): For managing train data and bookings
π User Authentication (optional): Login system for passengers and admins
π Project Structure vbnet Copy Edit /RailwayManagementSystem β βββ /App_Code βββ /App_Data βββ /Pages β βββ BookTicket.aspx β βββ Schedule.aspx β βββ Passengers.aspx β βββ ... βββ /Scripts β βββ custom.js βββ /Styles β βββ styles.css βββ Web.config βββ Global.asax βοΈ How to Run Clone the repository:
bash Copy Edit git clone https://github.com/yourusername/RailwayManagementSystem.git Open in Visual Studio
Connect to your SQL Server and run the provided .sql script to set up the database
Update the connectionString in Web.config
Run the project using IIS Express
ποΈ Database Schema Overview Trains: TrainID, Route, DepartureTime, ArrivalTime
Passengers: PassengerID, Name, Age, Gender, Contact
Bookings: BookingID, PassengerID, TrainID, SeatNo, BookingDate