Skip to content

Local development API gateway using Envoy - routes requests to Rails, BFF, and mock-auth services

Notifications You must be signed in to change notification settings

airtasker/local-api-gateway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Local API Gateway

Envoy-based API gateway for local development that routes requests to:

  • Rails Monolith (/api/v2/)
  • BFF Client (/api/client/v1)
  • Mock Auth (/mock-auth)
  • Rails Admin Panel (/admin)

Usage

# Start the gateway
make start

# Stop the gateway
make stop

# View logs
make logs

# Health check
curl http://localhost:8080/health

Routes

All routes accessible at http://localhost:8080:

  • /api/v2/ → Rails Monolith (production-like route)
  • /api/client/v1 → BFF Client (production-like route)
  • /mock-auth → Mock Auth Service
  • /admin → Rails Admin Panel

Configuration

Edit envoy.yaml to customize routing, timeouts, and clusters.

About

Local development API gateway using Envoy - routes requests to Rails, BFF, and mock-auth services

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published