CMPE 132 Project developed by Yue Ying Lee
This is a fictitious library, a simple web-based system which perform primary user enrollment, authentication, and authorization functions. The Role-Based Acccess Control (RBAC) model is used during the design of the project. It runs on Flask and SQLAlchemy.
- Admin
- Approve and reject user
- Change user's role
- Delete user
- View all users and search users
- View all books and search books
- Add and delete books
- Librarian
- View all books and search books
- Add and delete books
- Student
- View all books and search books
- Borrow and return books
- Check their current borrows
- Faculty
- View all books and search books
- Borrow and return books
- Check their current borrows
- Public
- View books
- Search books
- Clone this project in your Linux terminal
git clone https://github.com/YueYingLee/SJSUL.git - Navigate to the folder
cd SJSUL - Create a virtual environment named as venv.
python3 -m venv venv - Activate the virtual environment
source venv/bin/activate - Download the dependencies needed
pip3 install -r dependencies.txt - Run the application after installation of dependencies
python3 run.py - Deactivate the virtual environment once you are done
deactivate