API Types
Our API is organized into three main types of routes:Public Routes
Routes accessible without authentication for public data access, health checks, and authentication endpoints.
Protected Routes
Routes requiring user authentication for user-specific data, profile management, and personal settings.
Subscribed Routes
Routes requiring an active subscription for premium features and subscription-gated content.
Key Features
- Full type safety between client and server
- Built-in request validation
- Easy error handling
Getting Started
Lets walk you through the implimentation we had for the APIs.- Set up the tRPC client in your frontend
- Choose the appropriate route type for your needs
- Implement your API endpoints
- Call your endpoints from the client