Skip to content

Is there a way to host Pocketbase db to Vercel or any other free platforms? #3560

Discussion options

You must be logged in to vote

Other free options that are commonly used are Hop.io or Fly.io.

Side-note: If you use Vercel, then I suspect that you use also Next.js SSR or RSC. A lot of developers seem to jump straight to it, but my general recommendation would be, if you are not working on a website, to NOT use JS SSR/RSC and prefer client-side rendering (eg. SPA). If you use JS SSR/RSC you no longer have "just frontend".
If that's the case, the slow response times could be caused by the different locations of the servers because you are probably proxy-ing every client request from your node server to PocketBase (aka. browser->node->PocketBase). PocketBase comes with its own API rules to manage the access to your dat…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@albeniskerqeli10
Comment options

@RayyanNafees
Comment options

@ganigeorgiev
Comment options

@RayyanNafees
Comment options

Answer selected by albeniskerqeli10
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants