Pros
- Generous free tier
- Automatic deployments from Git
- Global CDN
- Great for frontend + API
This guide helps you choose the best deployment option for your needs.
| Platform | Free Tier | Est. Cost | Best For | Complexity |
|---|---|---|---|---|
| Vercel | Yes | $0-20/mo | API + frontend | Low |
| Railway | $5 credit | $5-20/mo | Easy full-stack | Low |
| Docker | N/A | Varies | Reproducible builds | Medium |
| VPS | No | $5-20/mo | Full control | High |
| Cloudflare Workers | Yes | $0-5/mo | Edge API only | Medium |
Discord Forum API has two services:
┌─────────────────┐ ┌─────────────────┐│ Bot │ │ API ││ (discord.js) │ │ (Hono.js) ││ │ │ ││ Needs: Always │ │ Needs: HTTP ││ running, │ │ server, ││ WebSocket │ │ stateless OK │└────────┬────────┘ └────────┬────────┘ │ │ └───────────┬───────────┘ │ ┌──────▼──────┐ │ Database │ │ SQLite/Turso│ └─────────────┘Pros
Cons
Best for: Hosting your frontend website that consumes the API.
Not for: Running the Discord bot.
Pros
Cons
Best for: Running both bot and API with minimal setup.
Pros
Cons
Best for: Production deployments with reproducibility needs.
Pros
Cons
Best for: Production deployments needing full control.
Pros
Cons
Best for: Edge-deployed API with Turso database.
Not for: Running the Discord bot.
Bot: Fly.io (free tier - 3 VMs)API: Cloudflare Workers (free tier)DB: Turso (free tier - 500 DBs)Frontend: Vercel/Cloudflare Pages (free)Total cost: $0/month
Bot + API: Railway (one service each)DB: Railway PostgreSQL or TursoFrontend: Vercel (free tier)Total cost: $5-15/month
Bot: Dedicated VPS (DigitalOcean Droplet)API: Railway or VercelDB: Turso (Scaler plan) or managed PostgresFrontend: Vercel ProMonitoring: Sentry + Uptime RobotTotal cost: $20-50/month
| Scenario | Recommended DB | Why |
|---|---|---|
| Development | SQLite (local) | Zero config |
| Small production | Turso free | Edge-ready, free |
| Medium production | Turso Scaler | More capacity |
| Large scale | PostgreSQL | Proven, scalable |
Choose your deployment platform and follow the detailed guide: