Mohitsaini2028 / LMS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Library Management System

Installation steps

  1. Ensure you have python3 installed

  2. Clone the repository

  3. create a virtual environment using virtualenv venv

  4. Activate the virtual environment by running source venv/bin/activate

  • On Windows use source venv\Scripts\activate
  1. Install the dependencies using pip install -r requirements.txt

  2. Migrate existing db tables by running python manage.py migrate

  3. Run the django development server using python manage.py runserver

Users

ADMIN functionalities

  • Add a book
  • Update a entry of a book
  • Delete a book
  • Get all books
  • Student functionalities

  • Get all books
  • Search books by title
  • Urls

  • /login :- Handle the data received from login form and authentication of user.
  • /signup :- Render the signup form template.
  • /signupHandle :- Handle the data received from form and user account creation task.
  • /logout :- Handle user logout request.
  • /new-book :- Render the Add new book template.
  • /add-book :- Add a new to existing database as well as reflect the changes in the UI.
  • /delete-book :- Delete particular book in the database.
  • /edit-book :- Render edit book form template.
  • /edit :- Edit a particular book record.
  • /search-book :- Render search page.
  • /search :- Find book by user request and displaying the output to the user.
  • Project Overview

    User Registration

    Login page Signup page

    View book record

    chrome_7JSFsOVETR

    Add book

    chrome_8okDjfLS7R

    Edit book

    Edit page Record edited
    chrome_ObueI4BAom chrome_L6CHHTIM0n

    Delete book

    Delete page Record deleted

    Search book

    chrome_f4vjAeIEp3

    Search result

    chrome_Bcood2V6Ed

    Only admin can access 'create', 'update' and 'delete' book record

    chrome_UuO5JEuj5P

    About


    Languages

    Language:Python 70.2%Language:HTML 27.4%Language:CSS 1.6%Language:JavaScript 0.4%Language:Shell 0.3%