DEV Community

Jacob Andersen
Jacob Andersen

Posted on

Using Cloudflare Workers for an entire API

Has anybody used Cloudflare Workers (or any other serverless provider!) for an entire REST API?

I am thinking of creating my new app's API using workers. The API will include user authentication w/ JWT, as well as multiple CRUD repositories either using Cloudflare's KV database or some other storage system.

My question is, is Worker's (or serverless in general) a good option here?

My normal experience is renting a full server (root access) and running my applications through that, which is a stark contrast to writing an application and deploying to hundreds of edge servers!

Do I need to worry about sync issues, etc?

Discussion (0)