Open Source backend in just 1 File
muneebbug
Posted on July 12, 2022
Hi, I'm Muneeb, Freelance Front-end Developer. I will keep the post short and to the point.
So I came accross an Amazing Open Source Project called PocketBase developed in GOLang. I was blown away with the capabilities of this project. Read more on their repo.
There's no need to manage 100's of file for your backend. you just have a single executable file and that's it. Feels untrue right? I thought that too but when I tried it, I was speechless.
Here are the features mentioned on their website
- Realtime database
- Authentication
- File storage
- Admin dashboard
Just one file. Damn. Here's how to get it
Go to this link and download the file for your specific OS.
Then you need to unzip the archieve. In my case on Linux I used following commands
Head over to downloads folder where you saved it.
cd Downloads
Then you need to extract the archieve
unzip pocketbase_0.2.4_linux_amd64.zip
Then you need to open the extracted folder
cd pocketbase_0.2.4_linux_amd64
and final step
./pocketbase serve
Hurrayy!! Your Self-Hosted Real Time Server is rolling on
http://localhost:8090
The admin panel UI is hosted on
http://localhost:8090/_/
and the REST API is hosted on
http://localhost:8090/api/
Now go to http://localhost:8090/_/
Pretty simple HUH? So here's the first time signup page
and here's the ADMIN Panel for you. Congragulations, You have your own self-hosted backend in just 5 minutes.
Thanks for reading my post ❤️ Leave a comment!
Posted on July 12, 2022
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.