Simple Todo app to learn Pocketbase (with Vue).
- Pocketbase authentication (login, logout)
- Manage todo items
- Secure access to todo items
- Support user registration
- Support real-time updates
Run make api-serve
to start Pocketbase
Add the following rule to Pocketbase 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:
kendall@kendallroth.ca
Password:Passw0rd!@#