
Spring2TS - Never write fetch calls
Auto-generate TypeScript types from your Spring Boot project
8 followers
Auto-generate TypeScript types from your Spring Boot project
8 followers
Auto-generate type-safe TypeScript clients from Spring Boot endpoints without Swagger setup. ✓ Works directly with Spring controllers ✓ TypeScript interfaces + Axios functions ✓ Supports @RequestBody, @PathVariable, @RequestParam, Pageable ✓ Handles enums, generics, complex types Built after spending hours manually syncing my frontend with backend changes. No Swagger config needed - just point it at your Spring project and go.


Coffee Commit
Hey Product Hunt! 👋
I'm Thomas, a full-stack developer from the Netherlands.
I built Spring2TS after one particularly painful day where I spent HOURS manually rewriting my entire frontend to match backend changes I'd made. Every endpoint, every interface, every type - all by hand.
I remember thinking: "Why am I doing this? This information already exists in my Spring project."
So I built Spring2TS that night. Haven't manually written a fetch call since.
What it does:
Point it at your Spring Boot controllers and it generates type-safe TypeScript clients automatically. Update your backend? Run it again. Done.
Why build this when Swagger tools exist?
Because most Spring projects don't have Swagger set up, and adding it just for type generation is overkill. Spring2TS works on your existing controllers immediately - no configuration, no extra dependencies, no two-step generation process. It's the lazy developer solution (in a good way).
Why I'm launching today:
I figured other full-stack devs face this same pain. If this saves you even one hour on your next project, it's worth it.
I use this on every single project now - it's become essential to my workflow.
Available now at launch price (€29) - going up after first 50 sales.
Works directly with Spring annotations - no Swagger/OpenAPI setup required
Happy to answer any questions about implementation, setup, or how it handles specific Spring annotations!
Link: https://thomasberrens.gumroad.co...
Video on how it works:
https://www.linkedin.com/posts/t...
Swytchcode
Brilliant idea! Congratulations on the launch!