67 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
134
views
The real-time connection is not being restored - ReactJS / Pocketbase
I’m using PocketBase as the backend, with the frontend subscribing to it. The backend sends real-time updates to the frontend using Server-Sent Events (SSE). Everything works fine in the browser. When ...
0
votes
1
answer
73
views
SetState callback in parent widget does not refresh riverpod-based Future builder when returning to view
I'm building a social feed. I have a view for the list of posts, and a view for creating a post. When the user creates a post, I want to submit it to my backend, make a callback to my setState ...
0
votes
0
answers
279
views
Why is my PocketBase Hook Returning 404 on `localhost:8090/api/hello/world`?
I'm trying to set up a custom route using PocketBase Hooks but encountering a 404 Not Found error when accessing the endpoint localhost:8090/api/hello/world.
Expected Behavior:
When I visit http://...
1
vote
1
answer
95
views
PocketBase event OnAfterBootstrap
I am new to pocketbase. I want to write go function initializeDb that would run immediately after app isbootstrap i.e. before ever command (not just before Serve). I started like this:
app....
0
votes
1
answer
158
views
How to download files in flutter using pocketbase across all the platforms?
I am trying include the download files option in my flutter app. I am using pocketbase to store the files and cubit for my state management. How can I implement this so that it works on all the ...
-1
votes
1
answer
37
views
nextjs promises wont fire to backend but works after restaring browser
So im new to nextjs i have login page setup the problem is after a while if i log out and then do login again, the request is stuck on pending like this picture
but if i restart my browser and do ...
0
votes
1
answer
136
views
Pocketbase force user to select an account when loggin in with google
I'm using Oauth2 authentication with Google. When logging in, I don't get prompted to select the user I want to use. It just uses the last one. Now, I want to force the screen to select the user to be ...
1
vote
0
answers
108
views
Echo response issue with Templ ( Golang )
Echo & Templ Response Issue
I am trying to build an admin dashboard for my project using Echo V5 & Templ.
My current setup
// RegisterRoutes -> a route registeration method used to ...
1
vote
1
answer
272
views
Pocketbase custom routing, can't curl
I am currently trying to setup my pocketbase backend to listen for webhooks from paddle. I am trying to follow the extend with go docs to setup just a custom route, but I am getting no where with it.
...
0
votes
1
answer
136
views
Is there a way to share an instanced variable between all blueprints in Flask?
I'm making a project that involves using Flask and Pocketbase db for a website. Problem is everytime I switch to a page on a different blueprint, I have to reconnect and login to the Pocketbase server ...
0
votes
1
answer
398
views
Pocketbase change user email
In my React project I have written a function to change user's email address with Pocketbase, but when I type the currently used email it works, when I type a new email it gives an error.
I mention ...
1
vote
1
answer
381
views
When using pocketbase with svelte, pocketbase returns a 'fetch failed' error unless an instance of pocketbase is running using ./pocketbase serve'
So I have a simple svelte app in which I want to perform CRUD operations using pocketbase. I have setup a collection "user" in pocketbase which has a table of fields name and age. I tried to ...
2
votes
1
answer
99
views
How to avoid json_group_array multil time in SQLite?
I have a problem when make a Sqlite query, to simply my situation: Let's say I have tables like this
Project Facility_category Facility_item Project_Facility_Relation
--...
0
votes
1
answer
577
views
How to share directory from one container to another one using Docker Compose?
dockerized Node.js application that I've developed holds the pb_migrations directory. In below Docker Compose document you can see that it depends on dockerized version of PocketBase.
What I want to ...
0
votes
1
answer
83
views
Even with optional variable flag still getting 'result?.expand' is possibly 'undefined'.ts(18048)
I'm using PocketBase and Svelte to code a small project. In vscode I am getting error syntax highlighting on this code. It is working and in other discussions it sayd the result?.expand should fix ...