Hosting your own TinyWebDB with 1-Click Deployments

This is an updated and improved version of my first tutorial: Hosting your own TinyWebDB, written a while ago already…

Hosting your own TinyWebDB

This tutorial will help you to host your own TinyWebDB Instance for FREE using simple a simple 1-click deployment. You will not need to run any command or manually upload and manage anything; just simply choose a provider and press “Deploy”.

Step 1: Choose A Provider

This 1-click deployment is available in both Cloudflare Workers and Vercel Functions. Both providers offer a generous free tier which will suffice for most projects, without having to enter a single credit card.

Once you have decided one of them, just create a free account with them.

Step 2: Deploy

Then, perform the 1-click deployment by pressing either of the following buttons. Make sure to only use one of the 3 options available for the provider you have signed up with:

Hosting Database Deploy
Cloudflare Workers KV (Key-Value) Deploy
Cloudflare Workers D1 (SQLite) Deploy
Cloudflare Workers R2 (Object Storage) Deploy
Vercel Edge Functions KV (Redis) Deploy with Vercel
Vercel Edge Functions Postgres Deploy with Vercel
Vercel Functions Blob Storage Deploy with Vercel

Each provider offers different database options with different free tiers and characteristics. For exploring and testing, either of the options works more than fine.
To learn more about each database option, see below.

Step 3: Update Your Components

Finally, just update the Service URL property in your TinyWebDB components to the URL either Vercel or Cloudflare gave to you.


A more detailed guide and provider/database comparison is available in the README of the original repository:

4 Likes