• Docs
  • API
  • Guides
  • Blog

Get productive.

Short guides for common tasks. Browse topics and jump into the docs.

backends

  • Add a Go backend
  • Add a Python backend
  • Add a Ruby backend

components

  • Serve Markdown
  • Use Angular
  • Use Eta
  • Use Handlebars
  • Use HTMX
  • Use Marko
  • Use React
  • Use Solid components
  • Use Svelte
  • Use Voby
  • Use Vue

databases

  • Use MongoDB
  • Use MySQL
  • Use Oracle
  • Use PostgreSQL
  • Use SQLite

requests

  • Forward requests
  • Read request body
  • Read request cookies
  • Read request headers
  • Read request path
  • Read request query string

responses

  • Handle validation errors
  • Redirect to login page
  • Serve JSON
  • Serve plain text
  • Show errors
  • Stream binary data
  • Stream events with SSE
  • Implement a real-time chat with WebSocket

routes

  • 404 fallback vs. +error.ts
  • Nested dynamic params
  • Optional params with .try()
  • Proxy webhook with raw body
  • Respond to OPTIONS (CORS preflight)
  • Single handler for /api/*

validation

  • Validate request bags
  • Validate request body
  • Validate with Pema
Primate

Build the web your way.

DocsGuidesBlogCommunityXSourcePrimate is released under the MIT license.