alpha970 / library_management_system

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Library Management System

This is a simple library management system built for database project 2022 by Alpha mohamed Kaba, Bah lamine Ouattara,AGOSSOU Ayédoun Regis Herman, COMPAORE Wendmi Tobi Luzine Fasise et OUAFKI Anas

This project is built with :

HTML5 , Python , Django ,


Features of this project:

Anyone can
  1. see all the books in homepage
  2. search books based on author or name of the book or category of the book
  3. sort books or author alphabetically
Student can
  1. login ,

  2. can request book

  3. see their own issues and filter them based on :

    • requested issues ,
    • issued books or
    • all of them together
  4. can see

    • the days remaining to return a particular book or
    • the number of days passed the return date of a particular book in the my fines page
Admin can
  1. login to admin dashboard

  2. check all issues :

    • see issues ,

    • delete issues ,

    • search issues by studentid

    • filter issues based on :

      • issued or not,
      • returned or not ,
  3. accept a issue :

    • from the dashboard where admin has to manually select return date or
    • from the Issue requests page where return date is automatically calculated
  4. add , delete search books and filter books based on author

  5. add , delete , search author

  6. search ,modify,add,delete students , filter them based on department and check all fines and issues of that student

  7. can see the last-login , date joined & the student associated to a particular user

  8. can change password for any user

More ...
  1. while signing up if studentID is already associated to a user in this platform then it will show a error without reloading the page and as soon as correct id is given then the error will go away
  2. Books in homepage will show status of issued , issue requested or request issue based on whether the book is issued or requested for a issue or is not requested for logged-in students only

Behind the scenes

Student app

We need this for writing our authentication views as well as student & department models. Student model has the first+last name ,department foreignkey and studentID which is one-to-one field to Django' User model. We use Django's User Model for authentication .

This is our main app where we will write our library system's main logic. It comprises of 4 models:

  • Author - for storing name & description of author
  • Book - for storing name , image ,category of a book & connecting to the author
  • Issue - for tracking each & every issue a student requests. It will also track the book for which issue is requested , issue status (whether issued or not) , return status (whether returned or not) , return date (last date to return the book) and more...

About


Languages

Language:Python 57.7%Language:HTML 42.3%