Cloudflare workers

2024-09-10 - [javascript, nodejs, typescript]


I just tried the new cloudflare worker. To create a sample and deploy there, you just need to run one single command:

pnpm create cloudflare@latest <project name>

... and of course, a lot of prompts.

I removed some dead code (editor config, prettier), added biome, added a taskfile (I will forget the commands). Also played with Hono - the web framework suggested by Cloudflare and added an AI endpoint.

Pretty simple, reminds me the good old days with the free Heroku tier.

For sure I will consider it for my pet projects.

My full code is available on github.

Next, I will try it with remix for a full stack experience. If I got it right, it should be super simple (or creating from scratch).



Return to list