Skip to content

Add product inventory API with categories, search, transactions, and Docker support#120

Open
dwhite1103 wants to merge 1 commit into
Jcouls29:masterfrom
dwhite1103:DuncanWhite
Open

Add product inventory API with categories, search, transactions, and Docker support#120
dwhite1103 wants to merge 1 commit into
Jcouls29:masterfrom
dwhite1103:DuncanWhite

Conversation

@dwhite1103

@dwhite1103 dwhite1103 commented May 5, 2026

Copy link
Copy Markdown

Summary

  • Implements a product inventory API on top of a new Sparcpoint.Inventory domain library, with a Dapper-based SQL Server repository implementation and an xUnit test project (in-memory fakes + coverlet config).
  • Rewrites ProductController with CRUD/search endpoints, adds InventoryController for transactions, and introduces request/response DTOs, a global exception middleware, and ServiceCollectionExtensions for DI wiring.
  • Adds Swagger/OpenAPI generation (XML docs), AspNetCore.HealthChecks.SqlServer, and Docker support (Dockerfile, docker-compose.yml, SQL Server init scripts) for local development.

…Docker support

- New Sparcpoint.Inventory domain library (Product, Category, InventoryTransaction models; IProductRepository / IInventoryRepository abstractions)
- New Sparcpoint.Inventory.SqlServer Dapper-based repository implementation
- New Sparcpoint.Inventory.Tests xUnit project with in-memory fakes and coverlet config
- ProductController rewritten with CRUD/search endpoints and DTO-based contracts
- New InventoryController for inventory transactions
- Request/Response models, GlobalExceptionMiddleware, and ServiceCollectionExtensions in Interview.Web
- Swagger/OpenAPI integration with XML doc generation
- AspNetCore.HealthChecks.SqlServer health check wired into Startup
- Dockerfile, docker-compose, and SQL Server init scripts for local dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant