Vercel Serverless & Edge Architecture
A technical overview of the Next.js 15 App Router architecture, zero-cost persistent storage tiers, and automated GitHub Actions CI/CD deployed to getemgigs.com.
Table of contents
- 1. Edge & Serverless Architecture
- 2. GitHub Actions CI/CD Pipeline
- 3. Custom Domain Configuration (
getemgigs.com)
1. Edge & Serverless Architecture
The Gig Bandit is engineered for zero maintenance and zero operational hosting costs on Vercelβs free hobby tier:
Figure: Vercel Anycast Edge CDN, Next.js 15 App Router, Serverless Edge APIs, and pluggable zero-cost database tiers.
2. GitHub Actions CI/CD Pipeline
Every push to the main branch undergoes automated validation before deployment:
name: CI & Vercel Deployment
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
verify-and-test:
name: Lint, Test & Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
- run: npm ci || npm install
- run: npm test
- run: npm run build
deploy-vercel:
needs: verify-and-test
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: amondnet/vercel-action@v25
with:
vercel-token: $
vercel-org-id: $
vercel-project-id: $
vercel-args: "--prod"
3. Custom Domain Configuration (getemgigs.com)
To map getemgigs.com to Vercel:
- Apex Record:
Arecord pointing@β76.76.21.21 - Subdomain Record:
CNAMErecord pointingwwwβcname.vercel-dns.com - Vercel provisions Letβs Encrypt TLS certificates with automated renewals.