- Signup and Login Page for users
- If a user is not logged in then he/she cannot access any page of the website.
- There are 3 roles : Admin, Librarian , User. Admin can give role of Librarian or delete it from the admin panel.
- Users can request books by clicking the Issue Request Button and filling the form.
- Librarians can view both pending requests and the requests that they have approved i.e. issued books
- Librarians can View/ Add / Edit/ Delete Books
- Normal Users have a profile page where they can see all of their pending requests as well as approved requests.
- If a user has a pending request or has issued the book currently then he cannot apply for issue request of the same book.
- Book availability is changed automatically if book is returned or is issued.
- Search algorithm searches for words present in book title as well as the description.
Install python Enter the following commands in Windows powershell:
pip install django
pip install django-crispy-forms
You may clone this repository or download it as a zipped file and unzip it.
Once you have all the files in your local system, navigate to the Main Project Directory :/SECURELIB/ Now open windows powershell within this directory and enter the following commands:
python manage.py makemigrations
python manage.py migrate
python manage.py runserver
Now you will see something like this :
Starting development server at http://127.0.0.1:8000/
Ctrl+Click on the link and you are good to go!
Admin:
Username | Password |
---|---|
admin | admin |
Librarian:
Username | Password |
---|---|
RajatLib | admin |
Normal Users:
Username | Password |
---|---|
user1 | rajat2002 |
user2 | rajat2002 |
user3 | rajat2002 |
user4 | rajat2002 |
Login Page | Signup Page |
---|---|
Librarian HomePage View | Normal User HomePage View |
---|---|
All screenshots :