Simple choral song tracker using Nuxt and Pocketbase.
NOTE: Ensure Volar Take-Over mode is enabled!
make api-serve
make app-serve
Occasionally a port may stay open and refuse to close, which will prevent connecting/hosting to it again. This can be resolved by killing the task attached and restarting.
❯ lsof -t -i:5001
####
❯ kill -9 ####
TODO
Pocketbase can be started with make api-serve
. Upon initial configuration, user executable permissions may need to be added to the pocketbase
binary.
http://localhost:8090
- Serve static content frompb_public
http://localhost:8090/_/
- Admin dashboard UIhttp://localhost:8090/api/
- REST API
Add the following rule to Pocketbase collection/resource rules to limit resources to the current user.
@request.auth.id = user.id
Tokens are valid for 14 days (by default) but can be refreshed if a valid token is provided (there is no refresh workflow). If the token is invalid (ie expired), the auth state can be cleared and a login workflow initiated.
Username:
[email protected]
Password:Passw0rd!@#