Nov 18, 2022 Replies: 27 Hi CRUD Examples Attached PocketBase is an open source backend consisting of embedded database (SQLite) with realtime subscriptions, built-in users management, convenient dashboard UI and simple REST-ish API. It runs on Linux, Windows and Mac, You can get it here, https://pocketbase.io/ We will look at each offering using HTTPUtils, thus covering the REST API both with postman & b4x. Here we go. PS: Do not forget to start the server Attachments PocketBase.zip PocketBase.zip 6.9 KB · Views: 745 Last edited: Jan 15, 2024 Click to expand...
Hi CRUD Examples Attached PocketBase is an open source backend consisting of embedded database (SQLite) with realtime subscriptions, built-in users management, convenient dashboard UI and simple REST-ish API. It runs on Linux, Windows and Mac, You can get it here, https://pocketbase.io/ We will look at each offering using HTTPUtils, thus covering the REST API both with postman & b4x. Here we go. PS: Do not forget to start the server
amorosik Expert Licensed User Longtime User Dec 6, 2022 #21 We may not yet fully realize the implications of this technology But even at first sight it is really very effective Many thanks for generously sharing your technical skills
We may not yet fully realize the implications of this technology But even at first sight it is really very effective Many thanks for generously sharing your technical skills
Johan Hormaza Well-Known Member Licensed User Longtime User Dec 6, 2022 #22 How can I run the server on a MAC?
Mashiane Expert Licensed User Longtime User Dec 6, 2022 #23 Open a command prompt and go to the folder pocketbase is installed in and perhaps try, ./pocketbase serve I dont have a mac, sorry..
Open a command prompt and go to the folder pocketbase is installed in and perhaps try, ./pocketbase serve I dont have a mac, sorry..
Gianni M Well-Known Member Licensed User Longtime User Nov 12, 2023 #24 hello, your examples attached work fine, i click on "Connect2SSE" and "Subscribe 2 SSE", and after update / create (from browser admin) a record, app response with: Code: Copy Private Sub pb_SSE (Action As String, Response As Map) Log("pb_SSE") Log(Action) Log(Response) End Sub OK! PERFECT! but after ~ 60 second it will response Code: Copy Private Sub pb_Disconnected (Status As Boolean) Log("pb_Disconnected") txtOutput.Text = $"Disconnected: ${Status}"$ End Sub from documentation of pocketbase Establishes a new SSE connection and immediately sends a PB_CONNECT SSE event with the created client ID. If the connected client doesn't receive any new messages for 5 minutes, the server will send a disconnect signal (this is to prevent forgotten/leaked connections). The connection will be automatically reestablished if the client is still active (eg. the browser tab is still open). Click to expand... I get disconnected after 60 seconds, but not after 5 minutes why? Last edited: Nov 13, 2023
hello, your examples attached work fine, i click on "Connect2SSE" and "Subscribe 2 SSE", and after update / create (from browser admin) a record, app response with: Code: Copy Private Sub pb_SSE (Action As String, Response As Map) Log("pb_SSE") Log(Action) Log(Response) End Sub OK! PERFECT! but after ~ 60 second it will response Code: Copy Private Sub pb_Disconnected (Status As Boolean) Log("pb_Disconnected") txtOutput.Text = $"Disconnected: ${Status}"$ End Sub from documentation of pocketbase Establishes a new SSE connection and immediately sends a PB_CONNECT SSE event with the created client ID. If the connected client doesn't receive any new messages for 5 minutes, the server will send a disconnect signal (this is to prevent forgotten/leaked connections). The connection will be automatically reestablished if the client is still active (eg. the browser tab is still open). Click to expand... I get disconnected after 60 seconds, but not after 5 minutes why?
Mashiane Expert Licensed User Longtime User Jun 16, 2024 #25 Reference How Can You Create A Backend In Few Minutes Using PocketBase This post will teach you how to create a powerful backend for your SaaS app using Pocketbase in just... dev.to
Reference How Can You Create A Backend In Few Minutes Using PocketBase This post will teach you how to create a powerful backend for your SaaS app using Pocketbase in just... dev.to
Alexander Stolte Expert Licensed User Longtime User Jun 16, 2024 #26 I hope I can still find the time for a b4x library this year
Mashiane Expert Licensed User Longtime User Jun 28, 2024 #27 Reference: Comprehensive Guide to Deploying Pocketbase Using Docker, Nginx, and SSL | Volito volito.digital
Reference: Comprehensive Guide to Deploying Pocketbase Using Docker, Nginx, and SSL | Volito volito.digital
Mashiane Expert Licensed User Longtime User Jun 28, 2024 #28 Reference: Installing PocketBase on a VPS Complete with SSL - Let's Enrypt PocketBase is amazing! By running it with a domain, you automatically get SSL and nothing beats that. Plus, it is resource efficient, very. dev.to
Reference: Installing PocketBase on a VPS Complete with SSL - Let's Enrypt PocketBase is amazing! By running it with a domain, you automatically get SSL and nothing beats that. Plus, it is resource efficient, very. dev.to