€29

Spring2TS - Never manually sync your API client again

I want this!

Spring2TS - Never manually sync your API client again

€29

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 @RequestBody, @PathVariable, @RequestParam, Pageable

- Enums, generics, all of it

Here's What You Get Instead of Manual Work

Your Spring Controller:

@PostMapping("/login")
public AuthResponse login(@RequestBody LoginDTO loginDTO) {
    return authService.login(loginDTO.getUsername(), loginDTO.getPassword());
}

Auto-Generated TypeScript (in seconds):

export const login = (loginDTO: LoginDTO): Promise<AuthResponse> => axios.post(`/user/login`, loginDTO)
.then(response => response.data)
.catch(error => { throw error });

export interface LoginDTO {
    username: string;
    password: string;
}

export interface AuthResponse {
    authenticationToken: string;
}

That's it. Update an endpoint? Run it again. Everything stays in sync.

What's Included

- Spring2TS library (works with Maven/Gradle)

- Complete setup docs

- Git automation module (auto-commits generated files if you want)

- Lifetime updates

- Email support

Why Not Swagger/OpenAPI?

Tools like swagger-typescript-api exist, but they require:

- Setting up Swagger/Springdoc dependencies

- Maintaining OpenAPI annotations

- A two-step process (generate docs → generate types)

Spring2TS works directly with your Spring controllers. No setup, no extra dependencies, one command. Perfect for MVPs, internal tools, and teams that want to build fast without documentation overhead.

Requirements

- Spring Boot backend

- TypeScript frontend

- Axios

I use this on every single project now. Can't even remember the last time I had a type mismatch between my frontend and backend.

Launch price: €29 (going up after first 50 sales)

One-time payment. Lifetime access. Never rewrite fetch calls again.

Video of how it works!:
https://www.linkedin.com/posts/thomas-berrens-4698141a4_fullstack-java-vue-activity-7220004449610575872-f6J_/?utm_source=share&utm_medium=member_desktop&rcm=ACoAAC_RjpEBoy5o8ZCEcb3ZRvYZDDXfKsNVBww

---

Questions? thomas.berrens@me.com

I want this!

Auto-generate TypeScript clients from Spring Boot endpoints. I built this after spending hours rewriting frontend code to match backend changes. Never again.

No refunds allowed

Subscribe to receive email updates from Thomas.

Powered by