← Back to posts

Running everything from a single server isn't that easy

January 1, 1970

Running everything from a single server isn't that easy

Last year I formed a plan of a 'homserver' which meant a single server would execute all functionality: frontend, backend, and connections to apis.

On top of that, I wanted to host all my domains from the same server and from the same frontend, including SSR.

The last weeks I've had my hands in my hair. I moved to bun while, at the same time, I moved away from next.js. The idea was to reduce complexity by creating a single deployment that did both the api and the frontend, but I ran into a multitude of limitations and problems.

My takeaway:

It's been quite a backlash, but I'm now going to do it in an easier way.

In the future I can still go down these paths: