My New Favorite Tech Stack: SKPB

Kieran LlarenaKieran Llarena
2 min read

SKPB is my new favorite tech stack, but what is it?

Here's a simple breakdown of it

(SK) SvelteKit - to handle frontend and backend logic

(PB) PocketBase - for persistent data storage

PocketBase is a new database app. It is open source, written in Go, and the best part is that it's just 1 file, so you can self-host it, which is what I ended up doing myself.

I would like to note that PocketBase is still in its early stages, and has not even reached 1.0 yet, so it should not be used in any production applications yet. However, I do not seek to undermine PocketBase's capabilities because of this fact. I was able to get a configured and deployed (to Fly.io) database in less than an hour.

PocketBase comes with many goodies

  • Performing CRUD operations to the database is extremely simplistic as it only takes 1 line of code by calling the built-in REST API, so you won't have to mess around with any ORMs, GraphQL, or RPC!

  • PocketBase comes with authentication and oAuth2 authentication, so no extra libraries are required

  • PocketBase also has a mailing microservice available out of the box, and you an even use SMTP with it

  • PocketBase comes with a request logs tool, so you can monitor any requests that come in

Lastly, to demonstrate the capabilities of the SKPB tech stack, I decided to create a basic Instagram-esque clone that has CRUD operations, which you can use for yourself here.

If you were curious about how I made this app, I will be posting a separate blog post tutorial later this week, so make sure to stay tuned by following and subscribing to the blog

~ signing off, Kieran ๐Ÿ‘‹

1
Subscribe to my newsletter

Read articles from Kieran Llarena directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Kieran Llarena
Kieran Llarena

Hello! My name is Kieran and I am college student that is pursuing a Bachelors Degree in Computer Science. Most of my experience is in web development, but I am working on becoming a software engineer Thank you for taking the time to read my bio!