Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1.23 KB

README.md

File metadata and controls

37 lines (25 loc) · 1.23 KB

2023SEInternSS1-ticket-booking-api

Project description

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.

Dependencies for running locally

Note:

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

Build instruction

  1. Clone this repository
For Visual studio
  1. Open TicketBookingAPI.sln with Visual Studio 2022
  2. Tools -> Nuget Package Manager -> Package Manager Console
  3. Enter: update-database
  4. Build the project: CTRL + F5
For Visual Studio Code
  1. Open the Vscode integrated terminal with CTRL + `
  2. Moving to the data folder with the command line: cd ..\Ticket-booking\TicketBooking.Data
  3. Enter: dotnet ef database update
  4. Move to the API folder: cd ..\Ticket-booking\TicketBookingAPI
  5. Build the project with dotnet run