The Airline Management System is a robust application designed to manage airline operations efficiently. The system supports two primary roles: Passengers and Admins. Each role has specific functionalities to ensure smooth operation and management.
- Register Account: Passengers can create an account to access the system.
- View Flights: Browse available flights with details such as destination, timing, and price.
- Book Tickets: Request and confirm ticket bookings for available flights.
- Cancel Tickets: Cancel previously booked tickets.
- View Booking Details: Check the details of current and past bookings.
- Manage Passengers:
-
- Add new passengers.
- Remove existing passengers.
- Update passenger details.
- Manage Flights:
- Add new flights.
- Remove flights.
- Update flight details.
- Manage Tickets:
-
- View all ticket bookings.
- Clear canceled tickets.
- View System Data:
- View all registered passengers.
- View flight schedules and details.
- View bookings and cancellations.
- Programming Language: C#
- Database: MongoDB
- Install .NET SDK.
- Install MongoDB and ensure it is running.
- Install a MongoDB GUI tool like Compass (optional).
- Clone the repository:
git clone https://github.com/your-username/airline-management-system.git cd airline-management-system
- Configure the MongoDB connection string in the
appsettings.json
file:{ "ConnectionStrings": { "MongoDb": "mongodb://localhost:27017/airlineDB" } }
- Build and run the project:
dotnet build dotnet run
- Passengers can register and log in to their accounts.
- Access features like viewing flights, booking tickets, and managing their bookings.
- Admins can log in to manage passengers, flights, and tickets.
- Access detailed reports on flights, passengers, and cancellations.
- Controllers: Handles user input and sends it to the appropriate services.
- Services: Contains business logic.
- Models: Defines data structures for passengers, flights, tickets, etc.
- Database: Handles interactions with MongoDB.
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a feature branch:
git checkout -b feature-name
. - Commit your changes:
git commit -m "Add some feature"
. - Push to the branch:
git push origin feature-name
. - Open a pull request.
This project is licensed under the MIT License.
For any queries or suggestions, feel free to contact:
- Email: sktfscm21557034l@gmail.com
- GitHub: mohAhmadRaza