API Overview
Consuming and extending the API
Overview#
The Next.js starter kit comes with a fully functional API built with tRPC v11 and is inspired by create-t3-turbo.
tRPC is a modern TypeScript-first API framework that is designed to be easy to use and extend. It gives you automatic TypeSafety and autocompletion without the need for build steps.
The API runs in a Next.js route handler by default, but can easily be customized to run in a separate (eg. Fastify) server or serverless (AWS Lambda) function.
Conventions
Learn about the conventions used in the API.
Define procedures
Learn how to extend the API.
Was this helpful?