What happens when you stop writing controllers, services, repositories and mappers - and let PostgreSQL be the backend. MIT-licensed, and yes, I built it.

Full disclosure right away: I built the thing I'm about to show you. It's called NpgsqlRest, it's MIT-licensed, there is no paid tier, no telemetry, no "book a demo" button. I'm just a guy who spent two years deleting layers from his stack and now wants to show someone the hole where the backend used to be.

The standard pattern

The standard data access pattern for modern business applications looks like this:

UI → Fetch → Controller → Service → Repository → ORM → SQL → Database