stack:framework starlette

Starlette

Overview

Starlette is a lightweight ASGI framework/toolkit, which is ideal for building high performance async services.

Recipes

REST API

  1. Host rest api with Starlette: Postgres-backed state
  2. Host rest api with Starlette: stored input and output artifacts
  3. Host rest api with Starlette: streamed responses
  4. Host rest api with Starlette: worker execution and job state

GraphQL API

  1. Host graphql api with Starlette: Postgres-backed state
  2. Host graphql api with Starlette: stored input and output artifacts
  3. Host graphql api with Starlette: streamed responses
  4. Host graphql api with Starlette: worker execution and job state

Mobile Backend

  1. Host mobile backend with Starlette: Postgres-backed state
  2. Host mobile backend with Starlette: stored input and output artifacts
  3. Host mobile backend with Starlette: streamed responses
  4. Host mobile backend with Starlette: worker execution and job state

MCP Server

  1. Host mcp server with Starlette: Postgres-backed state
  2. Host mcp server with Starlette: stored input and output artifacts
  3. Host mcp server with Starlette: streamed responses
  4. Host mcp server with Starlette: worker execution and job state

AI Applications

  1. Host ai chat application with Starlette: Postgres-backed state
  2. Host ai chat application with Starlette: stored input and output artifacts
  3. Host ai chat application with Starlette: streamed responses
  4. Host ai chat application with Starlette: worker execution and job state
  5. Host ai workflow runner with Starlette: Postgres-backed state
  6. Host ai workflow runner with Starlette: stored input and output artifacts
  7. Host ai workflow runner with Starlette: streamed responses
  8. Host ai workflow runner with Starlette: worker execution and job state

Guides

  1. Configure build and start for Starlette
  2. Connect Postgres for Starlette
  3. Apply database schema changes for Starlette
  4. Configure S3-compatible access for Starlette
  5. Deliver public assets through CDN for Starlette
  6. Configure environment and secrets for Starlette
  7. Enforce private-file authorization for Starlette
  8. Diagnose deployment failures for Starlette