Case study · 2026

CartForge

E-commerce API with PostgreSQL and Redis

CartForge commerce API

Commerce back end on a Clean Architecture solution, storing data in PostgreSQL with Redis alongside it. Its 150-case test suite runs entirely on SQLite and Moq, so no external service is needed to execute it.

Architecture

Clean Architecture across API, Application, Domain and Infrastructure projects, with PostgreSQL via Npgsql and Redis alongside it.

  • CartForge.Domain: Domain layer.
  • CartForge.Application: Application layer.
  • CartForge.Infrastructure: Infrastructure layer.
  • CartForge.API: API layer.

A suite that runs anywhere

All 150 tests pass against SQLite and Moq rather than containerised services, so the suite runs on a laptop or in CI with nothing to provision first.

Free consultation

Have a project in mind? Let's build it together.

Tell me about your idea. I'll scope it, recommend the right stack and send a fixed-price proposal.