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.

Was this helpful?