T
tRPC

❓-help

RateLimiter for fastify tRPC routes

KKimblis6/5/2023
Hi, I would like to add Ratelimiter to a specific fastify trpc route, are there any solutions available yet? Or do we need to write our own solution for this?
Nnlucas6/5/2023
tRPC has middlewares so you can implement one yourself via that Though if fastify itself has features for this there's nothing stopping you using it
Aabdissalam.6/13/2023
Maybe you can use this package https://github.com/OrJDev/trpc-limiter

Looking for more? Join the community!