How do I use PocketBase?
- In the panel, open My servers and click your server.
- On the Overview tab, wait for the App row to say "PocketBase is ready". The page refreshes itself.
- Open the link in the Panel address row and enter the details from the Email and Password rows.
Your first collection
- Create a table with New collection and add its fields.
- On the API rules tab, choose who can read and write. A locked rule lets only superusers in, while an unlocked empty rule lets everyone in.
- From your app, send requests to the
/api/path of your site address.
Good to know
- Your data is in the
/home/pocketbase/pb_datafolder. - To update, check the version shown on the admin screen, put the new file in place of
/home/pocketbase/pocketbaseand runsystemctl restart pocketbase.
Your own domain
- Point your domain's A record to your server's IP address.
- Replace the address on the first line of
/etc/caddy/Caddyfilewith your domain and runsystemctl reload caddyas root.
Caddy gets and renews the certificate by itself.
No server yet? Order a server with PocketBase installed: you choose the size and pay for what you choose.
Was this helpful?
Thanks for your feedback!