Pocketbase – open-source realtime back end in 1 file
13 days ago
- #JavaScript
- #SDK
- #PocketBase
- Initialize PocketBase client with the local server URL.
- List and search records in the 'example' collection with filters and sorting.
- Fetch a single record from the 'example' collection by ID.
- Delete a single record from the 'example' collection by ID.
- Create a new record in the 'example' collection with specified data.
- Subscribe to real-time changes in any record of the 'example' collection.
- Unsubscribe from real-time updates in the 'example' collection.