A simple app built to showcase pocketbase!
- clone this repo
- start a local server in the root directory:
task start
- cd into the
client
directory - install dependencies:
npm install
- set your .env file:
cp .env.example .env
- start the client:
npm start
- install flyctl: https://fly.io/docs/hands-on/install-flyctl
- init the fly app:
flyctl launch
- create free storage volume:
flyctl volumes create pb_data --size=1
- update fly.toml with the volume info:
[mounts] destination = "/pb/pb_data" source = "pb_data"
- deploy:
flyctl deploy