coldcat
CDCloudflare Developers
•Created by coldcat on 4/17/2024 in #workers-help
Is it possible to migrate an exisitng Parse Server project to Cloudflare workers?
Hi! I am new to Cloudflare workers and pages. I am wondering is it possible to use Cloudflare workers to replace my Parse Server backend? I think the cloud functions of Parse Server can be migrated to serverless functions since they are triggered by HTTP requests, but I do not know how to achieve it, and failed to find a tutorial about this as well.
I even failed to achieve the first step to initialize Parse Server. My code (index.ts) is like:
But
wrangler dev
throws:
However, I have tried moving the new ParseServer(...)
line to the handler scope, and it can not fix this error.
Can anyone help with this? Thanks in advance!1 replies