// blog · ~/kshitiz/notes
Writing.
Things I learn building apps, games and the platforms behind them. Flutter, the web, tech and the occasional rabbit hole.
RSS feed- 01How I structured the StatOz backend: Express, TypeScript and MongoDBIn my backend, routes only wire things up, controllers own HTTP, every error has one shape and the build fails if money moves the wrong way. Here's how I structured it, with the code for every layer so you can copy it.
- 02Feature-first Flutter: a folder structure that holds up at 1,000 filesEvery feature gets its own data, domain and presentation layers, shared code has strict homes, and tests mirror the app. Here's the Flutter structure I use, with the Dart for every layer so you can copy it.
- 03A Next.js folder structure that still makes sense at 200 filesRoutes in app/, business logic in features/, the API in core/, and imports that only ever point one way. Here's the App Router structure I use, with the code for every layer so you can copy it.
- 04Two GitHub accounts, one laptop: let the folder decideMy personal projects and my startup live on different GitHub accounts. Instead of juggling SSH aliases, I let the folder a repo lives in pick the account. Set it up once and never think about it again.
- 05How I built this portfolioA phone made of twelve CSS layers, a physics pit for my tech stack and a career log that reads like git. Here's how the pieces of this site work.