Build one generic repository that handles CRUD for every entity, extend it per-aggregate for the queries that do not fit, and wire it into a Clean Architecture solution with MediatR and PostgreSQL.
Put validation in a MediatR pipeline behavior so every command is checked before its handler runs - no validation calls in handlers, no validation logic in endpoints.
A full CRUD build from an empty folder to a working movies app - a CQRS-shaped .NET 8 Minimal API backed by SQLite, and a React + TypeScript client that talks to it. The architecture choices that hold up as the app grows past a toy example.