Skip to content
Flomp edited this page Mar 15, 2024 · 7 revisions

API

By using PocketBase as a backend wanderer comes with a fully functional API out of the box. By default, you can reach the PocketBase admin dashboard on http://localhost:8090/_/. Upon your first visit, you will need to create a new admin account.

Screenshot of PocketBase

Collections

wanderer's backend consists of 6 collections (aka tables):

  1. users
  2. categories
  3. lists
  4. summit_logs
  5. trails
  6. waypoints

To see detailed API documentation for each of the collections open the collection in the PocketBase admin dashboard and click on the "API Preview" button in the top right corner.

Clients

If you prefer to interact programmatically with the API we recommend using one of the official clients available for JavaScript and dart. Otherwise, you can of course also use PocketBase's web API. Please refer to the respective section in PocketBase's documentation.

Clone this wiki locally