Alpha launch soon!

Introducing Samen RPC

The backend platform
for front-end teams

Samen builds and deploys serverless backend services and databases from your code and autogenerates SDK's for your client.

Build a database and backend service by writing interfaces and functions.

Integrate auto generated, typesafe SDK's with your front-end clients.

Deploy to the cloud by running thesamen deploy command.

zero config

Build infrastructure from your codebase

With samen, building a cloud backed backend service with a database, is as simple as writing TypeScript code.


  // server/src/schema.ts
  interface User {
    id: string
    name: string
  }

  // server/src/index.ts
  import { db } from 'samen/db'
  import { User } from './schema'

  export async function getUsers(): Promise<User[]> {
    // typesafe database client
    // generated from your interface
    return await db.users.find().toArray();
  }

front-end and backend always in sync

Seamless integration with your client

Samen automatically generates typesafe SDK's for your client so you don't have to.


  // client/src/App.tsx
  import { useState, useEffect } from 'react'
  import { User, getUsers } from 'samen/client'

  export default function App() {
    const [users, setUsers] = useState<User[]>([])

    useEffect(() => {
      getUsers().then(users => setUsers(users))
    },[])

    return <ul>
      {users.map(user => 
        <li key={user.id}>{user.name}</li>)
      }
    </ul>
  }
Built with ❤️ By Press Play