CodeZettaInterview Hub

NestJS · Architecture · Junior · Architecture

Clean/hexagonal architecture mapping onto Nest?

Short Interview Answer

Controllers as adapters; services as application/domain; ORM repos as infrastructure providers behind ports.

Detailed Explanation

Don't over-abstract early, but keep domain pure enough to test. Tokens for ports.

Did you know this answer?