Setup NestJS project for Cloudflare Workers

Hello! Has anyone successfully setup a NestJS project for deployment to a Cloudflare worker? Any resources would be very helpful

Would love to setup NestJS via Cloudflare worker too. I’m following this thread. Thanks!

1 Like

I would also love to setup a Nest.js application on Cloudflare. Hoping this feature gets added. Thanks!

Isn’t it as easy as creating an adapter in the bootstrap file. However depending on your use case this might not be sufficient enough. Without doing the required research (writing a POC) I guess this way it would only be possible to setup a NestJS app for only one worker. For example when using the microservices architecture would most likely require a different strategy.

I’m very curious on how to achieve this and will try to create a POC myself. I will keep you guys updated.

1 Like

Hi @LSVH did you ever get to try this? None of the Nest team seems to want to touch this!

Sorry @BRacicot but I stopped using Nest. The project were I was using Nest got cancelled. Nowadays I would rather go for the backend framework Hono.

1 Like