ARCHE
FamiliesDocsExamplesBlogGitHub ↗
Documentation

Start

  • Getting started
  • Philosophy

Guides

  • First hour
  • Agent context
  • Verification
  • Package managers
  • Scaffold lifecycle
  • Showcase & portfolio

Walkthroughs

  • TypeScript fullstack
  • Convex product
  • Rust API & fullstack
  • Solana family
  • Customize & experiments
  • Automation (JSON/MCP)

CLI

  • Overview
  • Flags
  • Subcommands
  • Generated output

Presets

  • Preset catalog

Stack

  • TypeScript architecture
  • Convex
  • Rust
  • Solana
  • Authentication
  • Prisma store
  • tRPC

Operations

  • Deployment
  • Environment variables
  • Workers & queues
  • CI & testing
  • Scaling
  • Security
  • Troubleshooting

Reference

  • Stack links
  • Capabilities
  • This source repo
  • Code examples
← Documentation

Deployment

Vercel, Render, Railway, Neon, and Upstash—the documented production paths.

1 min read

Generated TypeScript fullstack projects include .docs/ deployment topics. This page is the website summary; the template repo holds the full env matrix and playbooks.

Architecture

Loading diagram…

Optional apps/worker on Render/Railway when BullMQ is enabled (REDIS_URL required). See Workers & queues.

Choose a path

PathWebAPIWhen
AVercelVercel (vercel-handler)Minimal hosts; accept serverless limits
BVercelRender DockerKitsuneKode default; blueprint in render.yaml
CVercelRailway Dockerrailway.toml deploy

Postgres and Redis are always URL-based on the API host. Do not use Render Postgres/Key Value for this template—use Neon and Upstash (or any compatible URL provider).

Rollout order

  1. Provision Postgres + Redis (or ENABLE_REDIS=false for API-only)
  2. Deploy API; set DATABASE_URL, auth URLs, secrets
  3. bun run db:migrate with production DATABASE_URL
  4. curl https://<api>/health
  5. Deploy web; set NEXT_PUBLIC_API_URL
  6. Smoke: sign-in, one tRPC call, check browser CORS

Deep docs (template repository)

TopicLocation
Hubdocs/deployment.md
Env matrixdocs/deployment-env.md
Production playbookdocs/production-playbook.md
Vercel pathdocs/deployment-vercel.md
Render pathdocs/deployment-render.md
Railway pathdocs/deployment-railway.md

Generated projects link to equivalent .docs/ files with your hostnames filled in where possible.

Entrypoints

HostServer entry
Vercelapps/server/src/vercel-handler.ts (no listen)
Docker / Render / Railwayapps/server/src/server.ts