Skip to content

Thin Backend

Overview

Instant Backend for your Single Page Apps

Thin Backend is a blazing fast, realtime backend for SPAs.

Instead of manually writing REST API endpoints or GraphQL resolvers, you can use a Thin Backend server to automatically get a fully feature web application backend. Thin gives you high level functions to create, read, update and delete database records.

  • 🚀 Build 10x faster, no boilerplate
  • 🛡️ End-to-end type safe
  • ⏭ Great autocompletion
  • ✅ Optimistic updates

Overall using Thin Backend has been one of the most delightful experiences I've had making an SPA with a simple backend. The developer experience with the generated TypeScript types is particularly awesome! - Ian Obermiller, Software Engineer, Netflix

Instructions

Each of your Vercel projects will get its own Thin Backend project. You can either create a new project or use an existing project from your Thin account.

The integration sets the BACKEND_URL environment variable on your project. This environment variable is commonly used by Thin project templates to connect to the backend server.

If a project is based on Next.js, the environment variable will be called NEXT_PUBLIC_BACKEND_URL.

Get started with Vercel and Thin Backend.