Airlines WEB is a web application designed for managing airlines. It offers functionalities for flight management, bookings, and user roles, enabling users to easily search and book flights.
- User Management:
- 🔑 User registration
- 🔒 Authentication and authorization
- Flight Management:
✈️ Add, edit, and delete flights
- Booking System:
- 📅 Search, book, and manage flight bookings
- ASP.NET Core: Backend framework
- Entity Framework Core: Database management
- Identity Framework: User authentication and authorization
- SQL Server: Database
- Razor Pages & MVC: Frontend development
To get started, ensure you have the following installed:
To set up the project locally, follow these steps:
- Clone the repository:
git clone https://github.com/NET-G5/Airlines.git cd Airlines
- Restore the .NET packages::
dotnet restore
- Configure the database connection: Update the appsettings.json file with your database connection string:
"ConnectionStrings": { "DefaultConnection": "Server=localhost; Database=AirlineDataBase; User Id="UserName"; Password="Password"; TrustServerCertificate=True;" }
- Apply database migrations::
dotnet ef database update
- Run the application:
dotnet run
- Access the application at http://localhost:5000.
- Users can register for an account.
- After registration, users can log in using their credentials.
- Once logged in, users can search for available flights and make bookings.
- Users can manage their bookings and view flight details.
Contributions are welcome! To contribute, please follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature-branch
- Commit your changes:
git commit -m "Add new feature
- Push to the branch:
git push origin feature-branch
- Open a pull request.
This project is licensed under the MIT License.