Real-time crypto trading stack: matching engine, HTTP API, and a Next.js UI.
exchange-backend/api/: Bun + Express API (port 3000)engine/: Bun matching engine (uses Redis)
exchange-proxy/: Next.js frontendorder-book/: TypeScript order book library
- Bun, Node.js 18+, Redis
 
API
cd exchange-backend/api && bun install && bun devEngine
cd exchange-backend/engine && bun install && bun devFrontend
cd exchange-proxy && npm install && npm run dev- Set 
PROXY_URLinexchange-proxy/app/utils/constants.ts(e.g.http://localhost:3000/api/v1). 
POST /api/v1/orderGET /api/v1/depth