Monday, May 20, 2024
HomeJavaScript⚡️ Gowebly CLI now helps the PocketBase framework

⚡️ Gowebly CLI now helps the PocketBase framework




Introduction

Good day, DEV folks! 👋

Now, I’ve launched the Gowebly CLI v2.5.0 which incorporates PocketBase framework/backend assist.

Okay, let’s get began 😉



📝 Desk of contents



What’s PocketBase?

PocketBase is an open supply ready-to-use framework/backend on your subsequent SaaS and cell software in a single file.

Open Supply realtime backend in 1 file


PocketBase - open source backend in 1 file

build
Latest releases
Go package documentation

PocketBase is an open supply Go backend, consisting of:

  • embedded database (SQLite) with realtime subscriptions
  • built-in information and customers administration
  • handy Admin dashboard UI
  • and easy REST-ish API

For documentation and examples, please go to https://pocketbase.io/docs.

Warning

Please remember that PocketBase remains to be underneath energetic growth
and subsequently full backward compatibility shouldn’t be assured earlier than reaching v1.0.0.

API SDK purchasers

The simplest technique to work together with the API is to make use of one of many official SDK purchasers:

Overview

Use as standalone app

You would obtain the prebuilt executable on your platform from the Releases web page.
As soon as downloaded, extract the archive and run ./pocketbase serve within the extracted listing.

The prebuilt executables are based mostly on the examples/base/major.go file and comes with the JS VM plugin enabled by default which permits…

Major options:

  • Realtime database. Embedded performant database with schema builder, knowledge validations, realtime subscriptions and simple to make use of REST api.
  • Authentication. Handle your app customers and deal with e mail/password and OAuth2 sign-ups (Google, Fb, GitHub, GitLab and extra) with out the trouble.
  • File storage. Sanely retailer information domestically or in a S3 storage. Simply connect media to your database data and generate thumbs on the fly.
  • Extendable. Use as a standalone app OR as a framework, you could lengthen through Go and JavaScript hooks to create your personal customized transportable backend.

↑ Desk of contents



The right way to use PocketBase with Gowebly CLI?

The very first thing you must do is confirm that you’re utilizing Gowebly CLI model v2.5.0 or larger.

Subsequent, whenever you begin creating a brand new mission, simply change the Go framework selector to the PocketBase choice:

gowebly create
Enter fullscreen mode

Exit fullscreen mode

And Gowebly CLI created a brand new mission with the PocketBase.

Yeah, it is simply working! 🎉

↑ Desk of contents



Images and movies by



P.S.

If you need extra articles (like this) on this weblog, then put up a remark beneath and subscribe to me. Thanks! 😻

And naturally, you possibly can assist me make builders’ lives even higher! Simply connect with one in every of my initiatives as a contributor. It is simple!

My major initiatives that want your assist (and stars) 👇

  • 🔥 gowebly: A next-generation CLI device that makes it simple to create wonderful net purposes with Go on the backend, utilizing htmx, hyperscript or Alpine.js and the preferred CSS frameworks on the frontend.
  • create-go-app: Create a brand new production-ready mission with Go backend, frontend and deploy automation by working one CLI command.

Different my small initiatives: yatr, gosl, json2csv, csv2api.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments