I Wasted An Entire Day Rewriting Fetch Calls

Here’s what happened:

I updated a bunch of entities and endpoints on the backend. Took a few hours. Not bad.

Then I opened my frontend codebase.

Every. Single. Endpoint. Had to be manually rewritten.

Every. Single. Interface. Had to match the new DTOs.

Every. Single. Type. Had to be updated.

Hours later, I finally finished. And I thought: “Why am I doing this? All of this information already exists in my Spring project.”

So I built Spring2TS. I haven’t manually written a fetch call since.

What It Does

Point it at your Spring Boot controllers and it automatically generates:

  • Type-safe TypeScript interfaces for all your DTOs/entities

  • Ready-to-use Axios functions with correct types

  • Full support for @Reque…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help