├── .gitignore ├── .vscode ├── launch.json └── tasks.json ├── Controllers ├── BodyTypesController.cs ├── MakesController.cs ├── ModelsController.cs ├── QuoteOverridesController.cs ├── QuoteRulesController.cs ├── QuotesController.cs └── SizesController.cs ├── Data └── VehicleQuoteContext.cs ├── Dockerfile.dev ├── Dockerfile.prod ├── K8S_README.md ├── Migrations ├── 20210625212939_AddLookupTables.Designer.cs ├── 20210625212939_AddLookupTables.cs ├── 20210625224443_AddUniqueIndexesToLookupTables.Designer.cs ├── 20210625224443_AddUniqueIndexesToLookupTables.cs ├── 20210625232816_AddVehicleModelTables.Designer.cs ├── 20210625232816_AddVehicleModelTables.cs ├── 20210625234824_AddUniqueIndexesForVehicleModelTables.Designer.cs ├── 20210625234824_AddUniqueIndexesForVehicleModelTables.cs ├── 20210627204444_AddQuoteRulesAndOverridesTables.Designer.cs ├── 20210627204444_AddQuoteRulesAndOverridesTables.cs ├── 20210627213029_AddQuotesTable.Designer.cs ├── 20210627213029_AddQuotesTable.cs ├── 20210627230039_AddSeedDataForSizesAndBodyTypes.Designer.cs ├── 20210627230039_AddSeedDataForSizesAndBodyTypes.cs └── VehicleQuotesContextModelSnapshot.cs ├── Models ├── BodyType.cs ├── Make.cs ├── Model.cs ├── ModelStyle.cs ├── ModelStyleYear.cs ├── Quote.cs ├── QuoteOverride.cs ├── QuoteRule.cs └── Size.cs ├── Program.cs ├── Properties └── launchSettings.json ├── README.md ├── ResourceModels ├── ModelSpecification.cs ├── ModelSpecificationStyle.cs ├── QuoteOverrideSpecification.cs ├── QuoteRequest.cs └── SubmittedQuoteRequest.cs ├── Services └── QuoteService.cs ├── Startup.cs ├── Validations ├── ContainsYearsAttribute.cs ├── FeatureTypeAttribute.cs ├── VehicleBodyTypeAttribute.cs └── VehicleSizeAttribute.cs ├── VehicleQuotes.csproj ├── appsettings.Development.json ├── appsettings.json ├── database.dbml ├── k8s ├── base │ ├── db │ │ ├── deployment.yaml │ │ ├── persistent-volume-claim.yaml │ │ ├── persistent-volume.yaml │ │ └── service.yaml │ ├── kustomization.yaml │ └── web │ │ └── service.yaml ├── dev │ ├── db │ │ └── persistent-volume-host-path.yaml │ ├── kustomization.yaml │ └── web │ │ ├── deployment.yaml │ │ ├── persistent-volume-claim.yaml │ │ └── persistent-volume.yaml └── prod │ ├── db │ └── persistent-volume-host-path.yaml │ ├── kustomization.yaml │ └── web │ └── deployment.yaml └── queries.sql /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/.vscode/tasks.json -------------------------------------------------------------------------------- /Controllers/BodyTypesController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/Controllers/BodyTypesController.cs -------------------------------------------------------------------------------- /Controllers/MakesController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/Controllers/MakesController.cs -------------------------------------------------------------------------------- /Controllers/ModelsController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/Controllers/ModelsController.cs -------------------------------------------------------------------------------- /Controllers/QuoteOverridesController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/Controllers/QuoteOverridesController.cs -------------------------------------------------------------------------------- /Controllers/QuoteRulesController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/Controllers/QuoteRulesController.cs -------------------------------------------------------------------------------- /Controllers/QuotesController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/Controllers/QuotesController.cs -------------------------------------------------------------------------------- /Controllers/SizesController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/Controllers/SizesController.cs -------------------------------------------------------------------------------- /Data/VehicleQuoteContext.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/Data/VehicleQuoteContext.cs -------------------------------------------------------------------------------- /Dockerfile.dev: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/Dockerfile.dev -------------------------------------------------------------------------------- /Dockerfile.prod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/Dockerfile.prod -------------------------------------------------------------------------------- /K8S_README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/K8S_README.md -------------------------------------------------------------------------------- /Migrations/20210625212939_AddLookupTables.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/Migrations/20210625212939_AddLookupTables.Designer.cs -------------------------------------------------------------------------------- /Migrations/20210625212939_AddLookupTables.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/Migrations/20210625212939_AddLookupTables.cs -------------------------------------------------------------------------------- /Migrations/20210625224443_AddUniqueIndexesToLookupTables.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/Migrations/20210625224443_AddUniqueIndexesToLookupTables.Designer.cs -------------------------------------------------------------------------------- /Migrations/20210625224443_AddUniqueIndexesToLookupTables.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/Migrations/20210625224443_AddUniqueIndexesToLookupTables.cs -------------------------------------------------------------------------------- /Migrations/20210625232816_AddVehicleModelTables.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/Migrations/20210625232816_AddVehicleModelTables.Designer.cs -------------------------------------------------------------------------------- /Migrations/20210625232816_AddVehicleModelTables.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/Migrations/20210625232816_AddVehicleModelTables.cs -------------------------------------------------------------------------------- /Migrations/20210625234824_AddUniqueIndexesForVehicleModelTables.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/Migrations/20210625234824_AddUniqueIndexesForVehicleModelTables.Designer.cs -------------------------------------------------------------------------------- /Migrations/20210625234824_AddUniqueIndexesForVehicleModelTables.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/Migrations/20210625234824_AddUniqueIndexesForVehicleModelTables.cs -------------------------------------------------------------------------------- /Migrations/20210627204444_AddQuoteRulesAndOverridesTables.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/Migrations/20210627204444_AddQuoteRulesAndOverridesTables.Designer.cs -------------------------------------------------------------------------------- /Migrations/20210627204444_AddQuoteRulesAndOverridesTables.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/Migrations/20210627204444_AddQuoteRulesAndOverridesTables.cs -------------------------------------------------------------------------------- /Migrations/20210627213029_AddQuotesTable.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/Migrations/20210627213029_AddQuotesTable.Designer.cs -------------------------------------------------------------------------------- /Migrations/20210627213029_AddQuotesTable.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/Migrations/20210627213029_AddQuotesTable.cs -------------------------------------------------------------------------------- /Migrations/20210627230039_AddSeedDataForSizesAndBodyTypes.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/Migrations/20210627230039_AddSeedDataForSizesAndBodyTypes.Designer.cs -------------------------------------------------------------------------------- /Migrations/20210627230039_AddSeedDataForSizesAndBodyTypes.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/Migrations/20210627230039_AddSeedDataForSizesAndBodyTypes.cs -------------------------------------------------------------------------------- /Migrations/VehicleQuotesContextModelSnapshot.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/Migrations/VehicleQuotesContextModelSnapshot.cs -------------------------------------------------------------------------------- /Models/BodyType.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/Models/BodyType.cs -------------------------------------------------------------------------------- /Models/Make.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/Models/Make.cs -------------------------------------------------------------------------------- /Models/Model.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/Models/Model.cs -------------------------------------------------------------------------------- /Models/ModelStyle.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/Models/ModelStyle.cs -------------------------------------------------------------------------------- /Models/ModelStyleYear.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/Models/ModelStyleYear.cs -------------------------------------------------------------------------------- /Models/Quote.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/Models/Quote.cs -------------------------------------------------------------------------------- /Models/QuoteOverride.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/Models/QuoteOverride.cs -------------------------------------------------------------------------------- /Models/QuoteRule.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/Models/QuoteRule.cs -------------------------------------------------------------------------------- /Models/Size.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/Models/Size.cs -------------------------------------------------------------------------------- /Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/Program.cs -------------------------------------------------------------------------------- /Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/Properties/launchSettings.json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/README.md -------------------------------------------------------------------------------- /ResourceModels/ModelSpecification.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/ResourceModels/ModelSpecification.cs -------------------------------------------------------------------------------- /ResourceModels/ModelSpecificationStyle.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/ResourceModels/ModelSpecificationStyle.cs -------------------------------------------------------------------------------- /ResourceModels/QuoteOverrideSpecification.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/ResourceModels/QuoteOverrideSpecification.cs -------------------------------------------------------------------------------- /ResourceModels/QuoteRequest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/ResourceModels/QuoteRequest.cs -------------------------------------------------------------------------------- /ResourceModels/SubmittedQuoteRequest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/ResourceModels/SubmittedQuoteRequest.cs -------------------------------------------------------------------------------- /Services/QuoteService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/Services/QuoteService.cs -------------------------------------------------------------------------------- /Startup.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/Startup.cs -------------------------------------------------------------------------------- /Validations/ContainsYearsAttribute.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/Validations/ContainsYearsAttribute.cs -------------------------------------------------------------------------------- /Validations/FeatureTypeAttribute.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/Validations/FeatureTypeAttribute.cs -------------------------------------------------------------------------------- /Validations/VehicleBodyTypeAttribute.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/Validations/VehicleBodyTypeAttribute.cs -------------------------------------------------------------------------------- /Validations/VehicleSizeAttribute.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/Validations/VehicleSizeAttribute.cs -------------------------------------------------------------------------------- /VehicleQuotes.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/VehicleQuotes.csproj -------------------------------------------------------------------------------- /appsettings.Development.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/appsettings.Development.json -------------------------------------------------------------------------------- /appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/appsettings.json -------------------------------------------------------------------------------- /database.dbml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/database.dbml -------------------------------------------------------------------------------- /k8s/base/db/deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/k8s/base/db/deployment.yaml -------------------------------------------------------------------------------- /k8s/base/db/persistent-volume-claim.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/k8s/base/db/persistent-volume-claim.yaml -------------------------------------------------------------------------------- /k8s/base/db/persistent-volume.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/k8s/base/db/persistent-volume.yaml -------------------------------------------------------------------------------- /k8s/base/db/service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/k8s/base/db/service.yaml -------------------------------------------------------------------------------- /k8s/base/kustomization.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/k8s/base/kustomization.yaml -------------------------------------------------------------------------------- /k8s/base/web/service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/k8s/base/web/service.yaml -------------------------------------------------------------------------------- /k8s/dev/db/persistent-volume-host-path.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/k8s/dev/db/persistent-volume-host-path.yaml -------------------------------------------------------------------------------- /k8s/dev/kustomization.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/k8s/dev/kustomization.yaml -------------------------------------------------------------------------------- /k8s/dev/web/deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/k8s/dev/web/deployment.yaml -------------------------------------------------------------------------------- /k8s/dev/web/persistent-volume-claim.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/k8s/dev/web/persistent-volume-claim.yaml -------------------------------------------------------------------------------- /k8s/dev/web/persistent-volume.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/k8s/dev/web/persistent-volume.yaml -------------------------------------------------------------------------------- /k8s/prod/db/persistent-volume-host-path.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/k8s/prod/db/persistent-volume-host-path.yaml -------------------------------------------------------------------------------- /k8s/prod/kustomization.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/k8s/prod/kustomization.yaml -------------------------------------------------------------------------------- /k8s/prod/web/deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/k8s/prod/web/deployment.yaml -------------------------------------------------------------------------------- /queries.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/megakevin/end-point-blog-dotnet-5-web-api/HEAD/queries.sql --------------------------------------------------------------------------------