Cloudflare Worker that receives Excel file uploads and stores them in R2.
- Clone this repo
- Run
npm install npx wrangler login(authenticate with Cloudflare)npm run deploy
POST / — multipart form data
Fields:
file(required) — the Excel fileemail— client emailname— client nameproject— project namenotes— additional notes
Response:
{
"success": true,
"ref": "RF-123456",
"fileKey": "uploads/1234567890-file.xlsx",
"fileName": "CE-W001_v4.xlsx",
"fileSize": 12345
}