An web application that is used to book plane tickets from only 1 airline. Users are allowed to choose suitable tickets based on time, budget, and locations.
- .NET 6 or higher
- You can install .NET SDK from here: https://dotnet.microsoft.com/en-us/download/dotnet/6.0
- IDE (or code editor) to run project
- Visual Studio 2022: https://visualstudio.microsoft.com/vs/
- Visual Studio Code: https://code.visualstudio.com/
If you prefer VS Code then Visual Studio, you will need to read this guide to install .NET properly https://code.visualstudio.com/docs/languages/dotnet
- Clone this repository
- Open TicketBookingAPI.sln with Visual Studio 2022
- Tools -> Nuget Package Manager -> Package Manager Console
- Enter: update-database
- Build the project: CTRL + F5
- Open the Vscode integrated terminal with CTRL + `
- Moving to the data folder with the command line: cd ..\Ticket-booking\TicketBooking.Data
- Enter: dotnet ef database update
- Move to the API folder: cd ..\Ticket-booking\TicketBookingAPI
- Build the project with dotnet run