Skip to main content

API Overview

The Tonnex API is built with NestJS and runs as a separate application (apps/api).

Base URL

Authentication

All protected endpoints require a Bearer token in the Authorization header:

Health Check

Response:

Web Proxy

The Next.js web app proxies /api/v1/* requests to the NestJS API. In development, browser requests to http://localhost:3000/api/v1/* are automatically forwarded to http://localhost:3001/api/v1/*.