Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 1.23 KB

README.md

File metadata and controls

36 lines (29 loc) · 1.23 KB

Flight REST API Service

Dotnet Core Web API Application for adding flights to a SQL Azure database

Features

  • POST requests to add new flights
  • Use of Azure Service Bus to subscribe to messages regarding the addition of bookings for a flight, which take place in a separate API (https://github.com/OisinFoley/dotnet-BookingService/blob/master/README.md)
  • Repository Pattern, Unit of Work Pattern
  • Singleton Pattern for IncomingMessage service which forms Service Bus to Azure
  • Use of DTOs to carry data between layers

Requirements

  • Add your appsettings for
"DatabaseHost": "SQLServer",
"ConnectionStrings": {
    "SQLServer": "<something-here>" 
  },
  "MessageServiceCommon": { 
    "ConnectionString": "<something-here>", //service-bus connection string 
    "TopicName": "<something-here>",
}
"InboundMessageService": {
    "PollingIntervalInMilliseconds": <something-here>,
    "SubscriptionName": "<something-here>"
}