Upgrading to Pocketbase 0.23 Simplified

  Рет қаралды 504

Early Morning Dev

Early Morning Dev

Күн бұрын

Пікірлер: 14
@dirtbagmoto
@dirtbagmoto Ай бұрын
Oh damn 0.23 is still not out. Can't wait for the OTP stuff, pretty cool
@earlymorningdev
@earlymorningdev Ай бұрын
Yeah figured I would get the start on making it easy for people worried about how to actually do it
@JTActionFishing
@JTActionFishing Ай бұрын
I had upgraded myself before this document came out. It’s not too bad. I only support sms login in my app and reimplemented OTP using sms since it’s only supported using mail.
@earlymorningdev
@earlymorningdev Ай бұрын
Nice what service did you use?
@JTActionFishing
@JTActionFishing Ай бұрын
For some reason setting up twilio in South Africa is a pain. I already have AWS running my pocketbase instance with Terraform, so it made sense to utilise SNS for text messaging. I looked into the OTPRequest function in the core pocketbase code and copied how it’s done and replaced the trigger portion that triggers a mail, to trigger an sms. In future it might be beneficial for pocketbase to have configuration for sms in the admin panel and then enable the notification type to be selected for that event which will either send an sms, mail or both
@earlymorningdev
@earlymorningdev Ай бұрын
Useful to know. Never used sns before. I have used twilio was it much harder to navigate?
@JTActionFishing
@JTActionFishing Ай бұрын
@ SNS took me 5 minutes to setup and add in the code. I just had to wait about a day for AWS to take me out of the sandbox. You should be able to get setup quickly and use the sandbox mode none the less.
@JTActionFishing
@JTActionFishing Ай бұрын
I’ll create a new channel at some point specifically for dev in go. Pocketbase will be one of my main areas to focus on since the documentation is still not where it should be. I’ve read through the whole code base and have a good understanding of how it works. I’ve used go to build and app using a single binary (Frontend, pocketbase and db), the Frontend re-uses the mux router for all its endpoints and utilises hooks for core business logic and uses the core library to run db calls.
@greendsnow
@greendsnow Ай бұрын
Can't read meeh, can't read maah, No he can't read my pocketbase, na ah, she's got to love nobody.
@earlymorningdev
@earlymorningdev Ай бұрын
😂
I built a $5 chat app with Pocketbase & Svelte. Will it scale?
13:34
Anthropic MCP with Ollama, No Claude? Watch This!
29:55
Chris Hay
Рет қаралды 16 М.
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
How To PocketBase Like A Pro
16:38
Early Morning Dev
Рет қаралды 3,2 М.
What PocketBase 0.23 Means For Developers
28:41
Early Morning Dev
Рет қаралды 5 М.
Deploying Eliza (V1)
12:17
kylebuildsstuff
Рет қаралды 116
I can’t believe this stack is actually good
9:59
Ben Davis
Рет қаралды 13 М.
Swagger is Gone in .NET 9! Replace It With This.
9:34
Nick Chapsas
Рет қаралды 90 М.
DHH discusses SQLite (and Stoicism)
54:00
Aaron Francis
Рет қаралды 104 М.
Simple Google Logon With Pocketbase
13:42
Early Morning Dev
Рет қаралды 324
Pocketbase OTP Authentication Demo
18:04
Clayton Marshall
Рет қаралды 231
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН