Show HN: Bffgen – A Go CLI to generate secure Back end-for-Front end APIs
2 richgodusen 0 9/18/2025, 11:03:27 PM github.com ↗
I’ve been experimenting with ways to reduce boilerplate when wiring up multiple backends for frontend projects. The Backend-for-Frontend (BFF) pattern is a common approach, but most solutions I found were either too heavy or tied to specific platforms.
I wrote a small CLI in Go called bffgen:
scaffolds a BFF service with chi, echo, or fiber
sets up CORS, JWT, Redis, and session management by default
supports route templates for aggregation
now includes a bffgen.yaml config so defaults persist across runs
No comments yet