I created this project to practice RBAC (Role-Based Access Control).
There are 3 roles: reader, librarian, and admin.
- FastAPI
- Supabase database
- Vite + React
Readers can only do the following:
- see all books
- borrow books
Librarians can only do the following:
- see all books
- give permission when readers borrow books
Admins can only do the following:
- see all books
- add books
- delete books
- update books
- ban readers
- fire librarians