Back to Templates

Unkey ratelimiting with TRPC + Drizzle

Quickstart using tRPC, Drizzle and Unkey Ratelimiting

Written by
Michael
Framework
Next.js
Language
Typescript
Quickstart using tRPC, Drizzle and Unkey Ratelimiting

Unkey ratelimiting with TRPC + Drizzle

This is a T3 Stack project bootstrapped with create-t3-app and Unkey ratelimiting.

Getting Started

  • You will need to make a new root key at unkey.com. If you do not already have an account, the onboarding flow will create one for you. Take the root key and create a .env file in the root of the project. Add the following line to the file:
1UNKEY_ROOT_KEY=your_root_key_here
  • Add a new github OAuth app and add the GITHUB_CLIENT_ID and GITHUB_CLIENT_SECRET
1GITHUB_CLIENT_ID=your_client_id_here
2GITHUB_CLIENT_SECRET=your_client_secret_here

Used in this project

From T3 Stack:

From Unkey:

Learn More

Learn more about Unkey services

Protect your API.
Start today.

2500 verifications and 100K successful rate‑limited requests per month. No CC required.