Security
Rate limiter
Get started | Expo Starter
Enable rate limiter for REST API
To enhance the security of your API, consider implementing throttling with Vercel/KVM. This method helps safeguard against brute-force attacks by limiting the number of requests a user can make within a given time frame, effectively preventing malicious attempts to access your system.
For Self-hosted, you can use Redis or Memcached to implement rate limiting.
Add REDIS_URL
to environment variable :
Edit the server.ts
file to implement rate limiting with Redis: