To clone the repository, open your terminal and run the following command:
git clone https://github.com/acortiv/pb-template
To start PocketBase cd into the pb
directory and run:
task start
To start the NextJS client cd into the client
directory and run:
npm run dev
For deployment, use fly.io for PocketBase and Vercel for NextJS. Ensure persistent data management by mounting the pb_data
to a volume on fly.io, configured in fly.toml
:
[mount]
source = "pb_data"
destination = "/path/on/container"