Introduction
Hello, DEV people! 👋
Now, I've released the Gowebly CLI v2.5.0
which includes PocketBase framework/backend support.
Okay, let's get started 😉
📝 Table of contents
What is PocketBase?
PocketBase is an open source ready-to-use framework/backend for your next SaaS and mobile application in a single file.
pocketbase / pocketbase
Open Source realtime backend in 1 file
PocketBase is an open source Go backend, consisting of:
- embedded database (SQLite) with realtime subscriptions
- built-in files and users management
- convenient Admin dashboard UI
- and simple REST-ish API
For documentation and examples, please visit https://pocketbase.io/docs.
Warning
Please keep in mind that PocketBase is still under active development and therefore full backward compatibility is not guaranteed before reaching v1.0.0.
API SDK clients
The easiest way to interact with the API is to use one of the official SDK clients:
- JavaScript - pocketbase/js-sdk (browser and node)
- Dart - pocketbase/dart-sdk (web, mobile, desktop)
Overview
Use as standalone app
You could download the prebuilt executable for your platform from the Releases page.
Once downloaded, extract the archive and run ./pocketbase serve
in the extracted directory.
The prebuilt executables are based on the examples/base/main.go
file and comes with the JS VM plugin enabled by default which allows…
Main features:
- Realtime database. Embedded performant database with schema builder, data validations, realtime subscriptions and easy to use REST api.
- Authentication. Manage your app users and handle email/password and OAuth2 sign-ups (Google, Facebook, GitHub, GitLab and more) without the hassle.
- File storage. Sanely store files locally or in a S3 storage. Easily attach media to your database records and generate thumbs on the fly.
- Extendable. Use as a standalone app OR as a framework, that you can extend via Go and JavaScript hooks to create your own custom portable backend.
How to use PocketBase with Gowebly CLI?
The first thing you should do is verify that you are using Gowebly CLI version v2.5.0
or higher.
Next, when you start creating a new project, just switch the Go framework
selector to the PocketBase
option:
gowebly create
And Gowebly CLI created a new project with the PocketBase.
Yeah, it's just working! 🎉
Photos and videos by
- Vic Shóstak https://github.com/koddr
- PocketBase authors https://pocketbase.io
P.S.
If you want more articles (like this) on this blog, then post a comment below and subscribe to me. Thanks! 😻
❗️ You can support me on Boosty, both on a permanent and on a one-time basis. All proceeds from this way will go to support my OSS projects and will energize me to create new products and articles for the community.
And of course, you can help me make developers' lives even better! Just connect to one of my projects as a contributor. It's easy!
My main projects that need your help (and stars) 👇
- 🔥 gowebly: A next-generation CLI tool that makes it easy to create amazing web applications with Go on the backend, using htmx, hyperscript or Alpine.js and the most popular CSS frameworks on the frontend.
- ✨ create-go-app: Create a new production-ready project with Go backend, frontend and deploy automation by running one CLI command.
Top comments (1)
this is amazing