Hero Image

Three months searching for the definitive tech stack

Foto de La-Rel Easter en Unsplash

I've spent more than three months trying to develop an "all-in-one" application, and during this time, I've experimented with a wide range of technologies:

  • PocketBase + SvelteKit.
  • Flask + SvelteKit.
  • Go + SvelteKit.
  • PHP.
  • Next.js.

Each of these technologies has its advantages and disadvantages, but constantly switching between stacks has led me to spend more time rebuilding applications than developing new features.

What am I finally going to use?

After experimenting with all these technologies, I've finally decided what to use:

  • Next.js: for full-stack development.
  • PocketBase: for storing data and images.
  • PostgreSQL: temporarily, until I finish migrating the data to PocketBase.
  • Authentik: for authentication and user management.
  • CouchDB: for SuperCafé.

Why am I doing this?

Because I've spent more than three months working on applications that I eventually find impossible to maintain.

The problem isn't necessarily that the technologies I was using were bad, but rather that each application had a different structure, different dependencies, and different ways of working.

Whenever I wanted to add a feature, I had to remember how I had developed each application.

And whenever I wanted to change something shared by multiple applications, I had to do it several times.

The problem with starting from scratch

Every time I discovered a technology that seemed better, I was tempted to rebuild everything from scratch.

But starting from scratch also means reimplementing features that already existed:

  • Authentication.
  • User interfaces.
  • Permission management.
  • Database connections.
  • Reusable components.

All that time could have been spent improving the existing applications.

Why an "all-in-one" application?

My goal is to have a centralized platform where I can develop different modules without having to create an entirely new application every time.

All modules will be able to share the same interface, authentication system, and common components.

This doesn't mean that absolutely everything has to run on a single server or use a single database. Each service will be able to use the technology it actually needs.

SuperCafé, for example, will continue to use CouchDB.

I don't need the best tech stack in the world

I need a tech stack that I'm familiar with, that I can maintain, and that allows me to develop new features without constantly rebuilding everything.

There will always be new technologies, new frameworks, and new ways of doing things.

But that doesn't mean I have to use them all.

What's next?

It's time to stop rebuilding and start building.

I want to spend more time developing useful features and less time deciding which technology to develop them with.

After all, a simple application that works and that I can maintain is far more valuable than a technically impressive application that I never finish.