Skip to content
Amine Benlaroui
All projects

Project template, private monorepo

Starter

The starting point of every new app: what Ironmile had to build before its first feature, made generic and proven.

Period
Since October 2026
Context
Personal tool, distilled from Ironmile
Stack
Next.js, Expo, Neon, Better Auth, RevenueCat
Modules
8
Check
Every module combination builds
The diagram

$ node scripts/new-app.mjs --name Fieldnote --kind store

ModuleSiteApp
siteLanding page, launch list, then the store link✓✓
blogArticles to HQ's contract, RSS, share images✓✓
dashboardSidebar on computer, tabs on phone✓–
accountsAccounts, consent, export and deletion✓✓
mobileThe Expo app, its Maestro flows, its release scripts–✓
paymentsRevenueCat: paywall, trial, server-side entitlement–✓
pushExpo notifications–✓
hqRead access for HQ, the app's facts sent to it✓✓

pnpm check:modules generates every combination of modules, then checks types, lint and build for each.

Why

Before its first feature, Ironmile needed accounts, payments, a site, a blog, an iOS release pipeline and a link to HQ. Redoing all that for every app means redoing the same mistakes too. The starter is the generic version.

What it generates

  • One command creates the app: a website or web tool alone, or an iOS and Android app with its site. It copies, keeps the chosen modules, strips the rest and renames everything.
  • Always there: Next.js 16, Tailwind and shadcn in my style, light and dark, Neon and Drizzle with a test branch, legal pages with blanks a test refuses to leave empty.

What keeps it right

  • A module's lines are marked out in shared files. A check generates every combination of modules and verifies each one: types, lint, build.
  • A lesson from one app that applies to all goes back into the starter in the same session. Example: React resets a form after its action, which wiped a mistyped email on Ironmile's waitlist; fixed in both.