A backend service for an Amazon-style online retailer, developed for my university Cloud Computing DevOps module.
This repository contains backend components for managing products and orders in an online retail environment. It is structured to support modular development and demonstrates core DevOps and microservices principles.
C4 Level-1 Diagram (click to expand)
ThAmCo.Services.ProductsAPI/ # Main backend API for products and orders
├── Controllers/ # REST API endpoints
├── Data/ # Data context and access logic
├── OrderRepo/ # Order repository logic
├── ProductsRepo/ # Product repository logic
├── UnderCutters/ # Price comparison/undercutting logic (stub/mock)
├── Program.cs # Application entry/configuration
└── appsettings.json # Service configuration
ThAmCo.Order.Tests/ # Tests for order processing logic
ThAmCo.Services.ProductsAPI.Tests/ # Tests for Products API logic
Design Diagrams/ # Architecture and design docs
workflows/ # CI/CD (GitHub Actions) configs
- .NET 6.0 SDK or later
- (Optional) Docker for containerized development
git clone https://github.com/Meowmixforme/OnlineRetailer.Products.git
cd OnlineRetailer.Products/ThAmCo.Services.ProductsAPI
dotnet restore
dotnet runThe API runs by default on http://localhost:5000 (see appsettings.json for configuration).
dotnet test ThAmCo.Order.Tests
dotnet test ThAmCo.Services.ProductsAPI.Tests- Product listing and retrieval
- Order creation and management
- Modular repository structure
- Automated unit and integration tests
- GitHub Actions under
/workflowsfor automated build and test on every push and pull request - Configuration management using
appsettings.jsonand environment variables
- Tech Stack: ASP.NET Core 6, Entity Framework Core, SQL Server (or SQLite for development/testing)
- Architecture Diagrams:
See the Design Diagrams/ directory for architecture diagrams and design documentation
This project is licensed under the terms of the MIT Licence.
API Unit Tests
Products Build and Deployment Pipeline

