GUIDE 03 / 04

Where Should I Publish My App? (For Web Services)

If You’ve Made Something, Why Not Show It?

I made a little program because I needed it. After using it for a while, it felt like a shame to keep it to myself. And honestly, I wanted to show it off a bit.

To let other people use it, you need to put it somewhere on the internet. That’s what we call deployment.

At first, I didn’t know where to put it, either. Did I need to rent a server? Was it going to cost a lot? So I did what I usually do and asked my coding agent.

“Where can I deploy this for free?”

The answer changed depending on the project.

For Simple Projects, GitHub Pages

GitHub Pages

The first recommendation for a simple project was GitHub Pages. I mentioned GitHub earlier, right? It’s where you keep your code and manage its history.

GitHub also lets you publish a website. That’s GitHub Pages. For a simple site made with HTML, CSS, and JavaScript, you can put it online without running a separate server. It serves the files you’ve pushed to GitHub.

My Code Printer started out on GitHub Pages, too. It’s a small web tool I made for printing code nicely. I’ve since moved it to Cloudflare, but GitHub Pages was where I first published it.

If your project needs to run server-side programs or use a database, GitHub Pages alone won’t be enough. For a simple introduction page or tool, though, it’s pretty convenient.

What If It Needs More Features?

As projects became more complicated, my agent sometimes recommended using Vercel and Supabase together.

Vercel hosts websites, while Supabase provides things like a database and user authentication. If an app needs accounts and has to save data for each user, combining services like these can work well.

Supabase in particular seemed convenient because it offered so many features. I originally deployed Moadum using Vercel and Supabase. The website has since moved to Cloudflare, while I still use Supabase for its database.

But as I made more projects, I ran into a limitation: the free plan allows only two active projects. That’s not much of a problem when you have just one, but the limit starts to feel pretty tight when you’re constantly trying new ideas.

Of course, I could pay. But paying every month for programs that aren’t making any money yet? That’s a little hard to justify.

I Ended Up Using Cloudflare the Most

Cloudflare

One service my coding agent kept recommending was Cloudflare.

Cloudflare is widely known for website performance and security, but it also provides ways to deploy applications. There’s Pages for static websites, Workers for running server-side code, and options for storing data, too.

I deployed VolumeEye on Cloudflare. It’s a website I made to look at stock and cryptocurrency trading volume, and I could publish it without operating a separate server myself.

I didn’t really understand all of Cloudflare’s features when I started, and I still don’t. I just tried the things my agent recommended. Before long, Cloudflare was where I ran most of my projects.

I moved Code Printer over from GitHub Pages and Moadum over from Vercel. Moadum still uses Supabase for its database, but its website is deployed through Cloudflare.

Having all those projects in one Cloudflare account makes things easier to manage. There’s less jumping between hosting dashboards.

And the free allowance is pretty generous in my experience. Free doesn’t mean unlimited, of course. There are limits on requests, execution time, and individual features. Still, for publishing small personal projects, I’ve been happy with it.

Your Own Computer Can Be a Server, Too

But do you really have to upload every program to an external service?

“Server” sounds grand, but it’s just a computer that receives and handles requests from other computers. Your everyday PC can run a web server, too. The tricky bit is letting people outside your home connect to it.

That’s where a tunnel can help. With Cloudflare Tunnel, for example, you can make a web service running on your PC accessible from the internet without directly opening router ports.

Then other people can visit your locally running program through a web address.

There are trade-offs. If your PC is off, your service is off. The same goes for a failed internet connection. You also have to take care of security and maintenance yourself.

Still, if you have a computer that’s usually running at home, it’s an interesting option. Not every project needs to live in the cloud.

One Domain Can Go a Long Way

When you publish a program online, it gets an address. The free address a service gives you can be long or awkward, though. A memorable one would be nice.

That’s what a domain is for. For example, ddunddunlabs.com is the domain for this site.

Registering a domain usually costs money, and you have to renew it to keep using it. But you don’t need to buy a new domain for every project.

You can buy one domain and add subdomains in front of it. For example:

  • ddunddunlabs.com — the main site
  • code-printer.ddunddunlabs.com — Code Printer
  • moadum.ddunddunlabs.com — Moadum
  • volumeeye.ddunddunlabs.com — VolumeEye

That way, one domain can give each of your projects its own address. If you’re always making little things like I am, it’s a pretty useful approach.

Last updated