Recommended Project Structure

This recommended project structure makes it easy to upload everything in /pb_* directly to your production PocketBase instance. It also mirrors the directory structure of pockethost.io and PocketBase's sample directory names.

package.json
pb_hooks/
  pages/
    +boot.pb.js
    index.ejs
pb_migrations/
pb_data/
  storage/
  data.db
  logs.db