Is self-hosting an option? #44
-
I want to develop a Deno application that can be deployed to Cloudflare Workers OR self-hosted, depending on the user's preference. Is that easy to do with denoflare? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Depends on how many Cloudflare-specific services the worker uses (like KV, R2, Cache API etc) which need to have local implementations.
|
Beta Was this translation helpful? Give feedback.
Depends on how many Cloudflare-specific services the worker uses (like KV, R2, Cache API etc) which need to have local implementations.
denoflare serve
essentially runs the worker in a local Deno process, with the ability to provide mock or local implementations for various CF services, it may work well for what you need, or you could create a similar static server loop based on it.