Week 1 Building RunHop: DDD Structure, JWT Auth, and a Race Condition I Didn't See Coming
typescript
dev.to
I'm building RunHop — a social platform for running races — as a way to go deep on the NestJS/TypeScript stack. The goal from day 1 was to build it the way a real production system gets built: domain-driven structure, proper auth, test coverage from the start. Not a tutorial app. Here's what the first week looked like. Architecture First Before writing a single line of app code, I mapped out the domain structure. RunHop has clear bounded contexts — identity (auth, users), organizat