tRPC-powered API service for FEQ applications
/trpc/health.check Health check
/trpc/health.ping Ping endpoint
/trpc/leads.createFromWebsite Create lead (public)
/trpc/leads.list List leads (auth required)
/trpc/applications.list List applications (auth required)
/trpc/users.me Get current user (auth required)
This API is designed to be consumed via the @feq/api-client package,
which provides a typed tRPC client.
import { createApiClient } from '@feq/api-client';
const api = createApiClient('http://localhost:5179/trpc', token);
// Type-safe API calls
const user = await api.users.me.query();
const leads = await api.leads.list.query({ limit: 10 });