Samuel ツ pfp
Samuel ツ

@samuellhuber.eth

kind of realizing that any template/boilerplate that isn't merely an inspirational codebase needs 1) Error Handling 2) Error Logging/Tracking e.g. sentry 3) Analytics e.g. Posthog 4) Logging -> e.g. Grafana Loki 5) Traces, Spans, Metrics -> e.g. Grafana & Prometheus or just Grafana Stack 6) Good local dev environment -> Docker-Compose with all the above preconfigured 7) extensive testsuite to verify everything!!! @effect/vitest + vitest visual regression seems interesting 8) heavy linting and formatting with precommit hooks so that standard is upheld. 9) CI to verify every single PR with tests, type checks, build, e2e tests 10) CD to ensure code is what runs in prod 11) AI verification and review 12) a checkmark for humans to have tested the preview branch (hopefully not needed as much as AI improves) if you haven't thought of all these you will as soon as you hit users or you/clients ask "where is this error is coming form", "how many users do we have", "why is this so slow", "how can we make this faster", "is this actually running" ツ
3 replies
1 recast
17 reactions