Generated image
|| #blog #2408-dailies

Playing with Svelte and Pocketbase

👋

Today I've spent a lot of time experimenting with Svelte and Pocketbase.

I came across Pocketbase as an alternative to Supabase, which I have been trying for the last couple of months and I really enjoying.

Being a backend dev you might think that I would rather build my own backend. I have done that a lot, but over time I've realised that I'm just solving the same problems over and over again (auth, DB connection, API routes, etc) and very little of the work is actually related to actual business of the project. So a backend-as-a-service is starting to make a lot of sense for me - especially for small hobby projects.

As for Svelte, I'm no frontender, but I do know a fair bit of React. I came across Svelte because it seems to solve a lot of the issues I have with React - e.g. state management and data binding.

I also watched some interviews with one of the main devs behind Svelte and was really impressed with their approach to the framework. So I'm pretty sold 🙌


I'm still playing around with them. For now my goal is just setting up a simple login flow with the ability to create/fetch some user-specific data.

It's going pretty well so far!

Screenshot of my WIP login page

I learn by doing. So my process is: build something, break it, fix it, repeat. This process works best with small projects 😅

I have a couple of bigger projects in mind where I plan to use these tools and I'm excited to get started!

See you tomorrow 👋


Maybe try another one?

Docker: Accessing Host Accessing the host machine from inside a docker container
2021.07.24
Experimenting with AI Dipping my toes in the world of running AI models locally 🏡
2024.09.09
Kotlin GitLab Pipeline Leverage Gitlab pipelines and Gradle to automate building and testing your Kotlin code
2020.05.06