Skip to content

adarmanto/cloudflare-email-worker-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CloudFlare Email Worker Example

This project is a Cloudflare Worker that processes emails and forwards them to a support center.

Medium post: here

Installation

  1. Clone the repository:

    git clone https://github.com/adarmanto/cloudflare-email-worker-example.git
    cd cloudflare-email-worker-example
  2. Install dependencies:

    npm install

Setup

  1. Configure your Cloudflare Worker by editing the wrangler.jsonc file with your Cloudflare account details.

  2. Ensure you have the necessary environment variables set up in your Cloudflare Worker settings.

Testing

Run the tests using Vitest:

npm run test

Deployment

Deploy the Cloudflare Worker using Wrangler:

npm run deploy

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published