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!
Top comments (6)
You should checkout Magic - You can also self host it as Open Source if you wish :)
Thank you Thomas, I will try it ð
wow, this looks cool!! a potential alternative for strapi, what do you think?
yeah It pretty much competes with strapi and main thing its built on GO which is crazy faster and can handle more requests than javascript. its simple to setup and easy to learn. Its Javascript SDK is easy and straightforward. It has embedded file storage and database. ð
Seems interesting. Think I will give a go on my next small project.
Cheers ð