← Tutorials Tutorial

How we build a whole business site with no servers — in a day, for almost nothing: Cloudflare Workers + D1

No servers, no patching, no £200/mo hosting. This is the engine behind BootApp.uk — whole site, API and database on Cloudflare's free tier, live in seconds. An almost-free advertising engine.

Published 5 October 2026 · Updated 8 October 2026

Cloudflare Workers can run a whole website, pages, API and database, without a server to look after. No patching, no £200/mo hosting, no container hell. This is the engine behind BootApp.uk, and it's how we give your business a kick up the arse for less investment.

This guide takes you from an empty folder to a live site on your own domain. The Ask Archie brain brings the future early, and the BootApp engine makes it real: speed and efficiency to deliver, then test till it's perfect.

The deploy workflow: edit, preview, deploy, live, and roll back if needed

Why this matters: time is money

In the mid-90s we were selling websites when businesses didn't know they needed them. It's the same again now with AI. Most businesses are focused on the present, running in circles.

We have 80 years' combined experience at the forefront of tech, and time has taught us that you make nothing until something is built, sold and implemented. Workers and D1 let us build in a day, not months, and save you a host of money on what you think you need.

What you need: the almost-free stack

  • A free Cloudflare account. Workers, D1 and static assets sit within the free limits at this size.
  • Node.js (the LTS version) on your computer
  • A domain on Cloudflare, if you want your own address (optional at first). That's the only fixed cost, a few pounds a year.

1. Create the project: 2 minutes

Run this in a terminal and choose a Worker with static assets when asked:

npm create cloudflare@latest my-site

You get a wrangler.jsonc settings file, a src/index.js file for your server code, and a public/ folder for HTML, CSS and images. That folder is your engine: one place, your master copy.

2. Log in to Cloudflare: 30 seconds

npx wrangler login

A browser window opens. Click Allow and Wrangler can now deploy to your account. No SSH keys, no server passwords.

3. Preview your changes: instant

npx wrangler dev

This runs the site on your computer. Add --remote to run it on Cloudflare's network against your real storage, which is the closest thing to the live site.

Test your sign-up, log-in and contact form on a phone and a laptop. If it works on a colliery site with weak signal, it works anywhere.

4. Deploy: live in seconds

npx wrangler deploy

Your site is live at a free *.workers.dev address within seconds. Every deploy is kept as a version, so you can roll back with one command. That's your almost-free advertising engine going live, with no £50 boost needed.

5. Add a database: D1, free

D1 is Cloudflare's SQLite database, and the free plan is plenty for a new site.

npx wrangler d1 create my-db

Copy the snippet it prints into wrangler.jsonc, then keep your tables in numbered files in a migrations/ folder and apply them with:

npx wrangler d1 migrations apply my-db --remote

The tip that saves you downtime: apply database changes before deploying code that needs them. We learned this the hard way: logins errored for a couple of minutes once. Now the deploy only runs once the database change is confirmed. Time is money.

D1 is also where the same automation collects your data while it publishes: users, messages, enquiries and an activity log. No extra tool needed.

6. Use your own domain: automatic HTTPS

Add your domain to the Worker in wrangler.jsonc:

"routes": [{ "pattern": "example.com", "custom_domain": true }]

Deploy again. Cloudflare creates the DNS record and the HTTPS certificate for you. No certbot, no nginx.

Day-to-day: 3 commands that run your business

  • npx wrangler deploy puts changes live
  • npx wrangler tail streams live logs, so you can see what's happening on your site as it happens
  • npx wrangler rollback restores the previous version if something goes wrong

Keep your project in one clearly named folder and back it up. If you don't use Git, that folder is your master copy.

Two sides, one engine

The BootApp side: we can set this up for you, or help you do it yourself, with tips and shortcuts if you're new to it. We're not here to sell you anything. We're here to help you be part of the AI race, spread the workload and work more efficiently.

The Ask Archie side: this is the future delivered to people who could only dream of it. Simple, open and honest, and not driven by shareholders. One engine, more business your way, less investment.

Want the same for your product? Get set up: free 15-minute mapping call

Read more in the Cloudflare Workers documentation.