DEV Community

Muhammad Haris
Muhammad Haris

Posted on

I Built a CLI to Stop Writing Frontend API Boilerplate

If your backend already has Swagger / OpenAPI, you’ve probably asked this before:

Why am I still writing API calls and types manually on the frontend?

I kept running into this across projects, so I built Rapid Front.
Rapid Front is an open-source CLI that generates a typed frontend API layer directly from your OpenAPI / Swagger spec.

What it helps with:

No more repetitive Axios / fetch code
Typed API calls out of the box
Clean, frontend-focused structure
Faster setup for React / Next.js projects
Run it with:
npx rapid-front init
📦 npm:
https://www.npmjs.com/package/rapid-front

I built this to solve my own problem first and decided to open-source it.

Would love feedback:
How do you usually handle API layers?
What’s the most annoying part for you?

Top comments (0)