Show HN: Bffgen – A Go CLI to generate secure Back end-for-Front end APIs
4 points
1 day ago
| 0 comments
| github.com
| HN
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 one has commented on this post.