1
0 Comments

New Hosting Setup

Things are coming together now. I've spent the last few days doing refactoring of the frontend library that connects to my API.

Library + API

I've become a big fan of separating frontend and backend into two applications. One of the big draws is the separation of concerns, it also allows me to use Python or Elixir on the backend and common nodejs frameworks on the frontend (Svelte for this app).

One of the challenges though is the need to wrap the API functionality in the nodejs app. Cursor has been a big help here. I've managed to create a neat wrapper library around my API to allow me access to the different backend capabilities.

There were a few more updates, like moving svelte to v5 but it's now operational and working fine. The only challenge was that my AppRunner deployment wasn't giving me the best output logs so I've switched the frontend to Heroku for now.

Next Steps

The core database entry stuff is working now. My next thing to work on is hooking up the database entries to the scheduling mechanism to schedule the worker tasks that will complete the healthchecks.

This part has been a little daunting to me as I'm not sure exactly the mechanism to make this part of the system resilient to failures.

I'll get it up and working over the next few days and then test.

posted toAvatar for product Rely
Rely