Skip to content

Handle rate limiting when using the Resend email service with Cloudflare Queues

License

Notifications You must be signed in to change notification settings

harshil1712/resend-rate-limit-demo

Repository files navigation

Resend Rate Limit Demo

This project demonstrates how to handle rate limiting when using the Resend email service. It provides a practical example of implementing rate limiting in your application to ensure smooth email sending operations while respecting Resend's usage limits.

Features

  • Demonstrates rate limiting for email sending
  • Uses Resend API for email operations
  • Provides a simple and scalable approach to handle rate limits

Getting Started

To get started with this project, follow these steps:

  1. Clone the repository
git clone https://github.com/yourusername/resend-rate-limit-demo.git cd resend-rate-limit-demo
  1. Install dependencies
npm install
  1. Set up your Resend API key
  • Follow the steps mentioned in the Resend documentation to obtain your API key.
  • Rename .dev.vars.example to .dev.vars and replace YOUR_RESEND_API_KEY with your actual API key.
  1. Start the development server
npm run dev

Contributing

Contributions are welcome! Please feel free to submit a Pull Request or report issues.

Built with

License

This project is open source and available under the MIT License.

About

Handle rate limiting when using the Resend email service with Cloudflare Queues

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published