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. 1. Edge & Serverless Architecture
  2. 2. GitHub Actions CI/CD Pipeline
  3. 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:

The Gig Bandit Vercel Edge and Serverless Architecture

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:

  1. Apex Record: A record pointing @ β†’ 76.76.21.21
  2. Subdomain Record: CNAME record pointing www β†’ cname.vercel-dns.com
  3. Vercel provisions Let’s Encrypt TLS certificates with automated renewals.