# Deploy API

## Recipes for Hosting REST APIs

Here are some various recipes for hosting REST APIs using different frameworks:

### Express Framework
- [Host REST API with Express: Postgres-backed state](/recipes/rest-api/express/persistent-state)
- [Host REST API with Express: stored input and output artifacts](/recipes/rest-api/express/artifact-storage)
- [Host REST API with Express: streamed responses](/recipes/rest-api/express/response-streaming)
- [Host REST API with Express: worker execution and job state](/recipes/rest-api/express/worker-state)

### Fastify Framework
- [Host REST API with Fastify: Postgres-backed state](/recipes/rest-api/fastify/persistent-state)
- [Host REST API with Fastify: stored input and output artifacts](/recipes/rest-api/fastify/artifact-storage)
- [Host REST API with Fastify: streamed responses](/recipes/rest-api/fastify/response-streaming)
- [Host REST API with Fastify: worker execution and job state](/recipes/rest-api/fastify/worker-state)

### NestJS Framework
- [Host REST API with NestJS: Postgres-backed state](/recipes/rest-api/nestjs/persistent-state)
- [Host REST API with NestJS: stored input and output artifacts](/recipes/rest-api/nestjs/artifact-storage)
- [Host REST API with NestJS: streamed responses](/recipes/rest-api/nestjs/response-streaming)
- [Host REST API with NestJS: worker execution and job state](/recipes/rest-api/nestjs/worker-state)

### Hono Framework
- [Host REST API with Hono: Postgres-backed state](/recipes/rest-api/hono/persistent-state)
- [Host REST API with Hono: stored input and output artifacts](/recipes/rest-api/hono/artifact-storage)
- [Host REST API with Hono: streamed responses](/recipes/rest-api/hono/response-streaming)
- [Host REST API with Hono: worker execution and job state](/recipes/rest-api/hono/worker-state)

### FastAPI Framework
- [Host REST API with FastAPI: Postgres-backed state](/recipes/rest-api/fastapi/persistent-state)
- [Host REST API with FastAPI: stored input and output artifacts](/recipes/rest-api/fastapi/artifact-storage)
- [Host REST API with FastAPI: streamed responses](/recipes/rest-api/fastapi/response-streaming)
- [Host REST API with FastAPI: worker execution and job state](/recipes/rest-api/fastapi/worker-state)

### Flask Framework
- [Host REST API with Flask: Postgres-backed state](/recipes/rest-api/flask/persistent-state)
- [Host REST API with Flask: stored input and output artifacts](/recipes/rest-api/flask/artifact-storage)
- [Host REST API with Flask: streamed responses](/recipes/rest-api/flask/response-streaming)
- [Host REST API with Flask: worker execution and job state](/recipes/rest-api/flask/worker-state)

### Starlette Framework
- [Host REST API with Starlette: Postgres-backed state](/recipes/rest-api/starlette/persistent-state)
- [Host REST API with Starlette: stored input and output artifacts](/recipes/rest-api/starlette/artifact-storage)
- [Host REST API with Starlette: streamed responses](/recipes/rest-api/starlette/response-streaming)
- [Host REST API with Starlette: worker execution and job state](/recipes/rest-api/starlette/worker-state)

### Gin Framework
- [Host REST API with Gin: Postgres-backed state](/recipes/rest-api/gin/persistent-state)
- [Host REST API with Gin: stored input and output artifacts](/recipes/rest-api/gin/artifact-storage)
- [Host REST API with Gin: streamed responses](/recipes/rest-api/gin/response-streaming)
- [Host REST API with Gin: worker execution and job state](/recipes/rest-api/gin/worker-state)

### Echo Framework
- [Host REST API with Echo: Postgres-backed state](/recipes/rest-api/echo/persistent-state)
- [Host REST API with Echo: stored input and output artifacts](/recipes/rest-api/echo/artifact-storage)
- [Host REST API with Echo: streamed responses](/recipes/rest-api/echo/response-streaming)
- [Host REST API with Echo: worker execution and job state](/recipes/rest-api/echo/worker-state)

### ASP.NET Core Framework
- [Host REST API with ASP.NET Core: Postgres-backed state](/recipes/rest-api/asp-net-core/persistent-state)
- [Host REST API with ASP.NET Core: stored input and output artifacts](/recipes/rest-api/asp-net-core/artifact-storage)
- [Host REST API with ASP.NET Core: streamed responses](/recipes/rest-api/asp-net-core/response-streaming)
- [Host REST API with ASP.NET Core: worker execution and job state](/recipes/rest-api/asp-net-core/worker-state)

### Axum Framework
- [Host REST API with Axum: Postgres-backed state](/recipes/rest-api/axum/persistent-state)
- [Host REST API with Axum: stored input and output artifacts](/recipes/rest-api/axum/artifact-storage)
- [Host REST API with Axum: streamed responses](/recipes/rest-api/axum/response-streaming)
- [Host REST API with Axum: worker execution and job state](/recipes/rest-api/axum/worker-state)

### Spring Boot Framework
- [Host REST API with Spring Boot: Postgres-backed state](/recipes/rest-api/spring-boot/persistent-state)
- [Host REST API with Spring Boot: stored input and output artifacts](/recipes/rest-api/spring-boot/artifact-storage)
- [Host REST API with Spring Boot: streamed responses](/recipes/rest-api/spring-boot/response-streaming)
- [Host REST API with Spring Boot: worker execution and job state](/recipes/rest-api/spring-boot/worker-state)

### GraphQL APIs with Express Framework
- [Host GraphQL API with Express: Postgres-backed state](/recipes/graphql-api/express/persistent-state)
- [Host GraphQL API with Express: stored input and output artifacts](/recipes/graphql-api/express/artifact-storage)

This content gives an overview of the different options available for deploying APIs based on various frameworks.
