How to deploy Nodejs express app to workers?

İ recently saw workers. İ currently have an express app. İts open source parse server

However i couldn’t find any document or tutorial about how to deploy express app. How can I do that? Or can I?

Workers doesn’t support the NodeJS APIs, so using express is not possible. However, there are some libraries that replicate the syntax and feel of express using Workers: https://www.npmjs.com/package/cloudworker-router

2 Likes

Thanks i will look into it

I know it’s late, but I would recommend using the itty-router as it has a very similar syntax to express and it is also recommended by the Cloudflare docs as they use it in an official quickstart template.