Β© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developersβ€’3y agoβ€’
15 replies
AlexanderKaran

Building an API across multiple workers

Looking at building a large API with Cloudflare workers with about 60 endpoints. It would be crazy to build all in one worker, right?

I considered using Hono and npmn workspaces to share code between workers where needed. Has anyone done this before? Looking at most guides everyone has a worker with four endpoints.

Last thought has does it work mapping a domain say api.example.com to multiple workers?
Cloudflare Developers banner
Cloudflare DevelopersJoin
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Deploying Next.js Apps on Cloudflare Workers Across Multiple Accounts
Cloudflare DevelopersCDCloudflare Developers / general-help
11mo ago
Hosting an API
Cloudflare DevelopersCDCloudflare Developers / general-help
2y ago
Get workers requests today using API
Cloudflare DevelopersCDCloudflare Developers / general-help
3y ago
List api with multiple ips
Cloudflare DevelopersCDCloudflare Developers / general-help
2y ago