What is Volt?
Volt is a TypeScript API framework built around Bun's HTTP server and Web Standard Request and Response objects. You register routes, attach validation schemas, and return JSON, text, or a Response.
Start here
- Follow Quick Start to run your first endpoint.
- Build the Tasks API tutorial to learn CRUD and validation.
- Add tests, authentication, and OpenAPI.
- Use the package guide to find optional integrations.
- Explore Coming Soon for planned improvements.
What a request looks like
A registered route runs its captured middleware, parses the body for POST/PUT/PATCH, validates configured schemas, calls your handler, and serializes its result. An exception becomes an HTTP error response. Register middleware before its routes.
Current boundaries
Volt's native server uses Bun. A separate Node adapter is available. Route parameter names are inferred, but request body and query types are not automatically inferred from a route schema. Use Static<typeof Schema> explicitly when you need a TypeScript type. Database plugins need real clients for persistence; their defaults are mocks or memory stores. Read the limitations on each integration page.