Skip to main content
Bridge Studio is on Beta

The Typescript API framework that boosts developer productivity

Bridge aims to provide the best developer experience ever by simplifying the process of developing and integrating APIs.

~ npx create-bridge-app
Simplicity

Bridge offers an easy and scalable way to write your backend code.

Create an endpoint

Validate your data

Add middlewares

Experience the power of TS

index.ts
import { initBridge, handler, apply, httpError } from 'bridge';
import z from 'zod'
const authMid = handler({
   headers: z.object({ token: z.string() }),
   resolve: (data) => {
(parameter) data: {
  headers: {
    token: string;
  };
}
     if (data.headers.token !== 'private_token') 
        return httpError(401, 'Wrong token');
      else return { name: 'John Doe' };
    },
})
const getMe = handler({
   body: z.object({ pseudo: z.string().min(3) }),
   middlewares: apply(authMid),
   resolve: () => 'Hello!'
(parameter) data: {
  body: {
    pseudo: string;
  };
  mid: {
    name: string;
  };
  headers: {
    token: string;
  };
}
   resolve: (data) => `Hey ${data.body.pseudo}`
})
const bridge = initBridge({ routes: { getMe } });

bridge.HTTPServer().listen(8080, () => {
    console.log("Listening on port 8080"); 
});

Try it yourself!

Try out Bridge without leaving your browser!

Discover Bridge Studio

Bridge Studio can generate a fully typed client code and documentation in a matter of seconds. Log with Github or use the CLI to sync your project.

Try Bridge Studio now

Go into your Bridge app folder and use the CLI "npx bridge-studio"

npx bridge-studio

Bridge is getting better every day —
don’t miss out anything.

Join the Bridge newsletter and stay updated on new releases, features and guides.

Join our Discord