Skip to content

Django-based library management system with user accounts, book borrowing functionality, and transaction tracking. Users can register, log in, borrow and return books, view their transaction history, and update their profile information. The system also includes email notifications for deposit transactions and book borrowing/returning events.

Notifications You must be signed in to change notification settings

Nirob-Barman/Library-Management-System

Repository files navigation

Library Management System

This Django-based library management system allows users to register, log in, borrow and return books, view their transaction history, and update their profile information.

Features

  • User Registration and Authentication
  • Book Borrowing and Returning
  • Transaction Tracking
  • User Profile Management
  • Email Notifications for Transactions and Book Events

Technologies Used

  • Django
  • Python
  • HTML/CSS
  • Bootstrap
  • SQLite (or your preferred database)

Setup

  1. Clone the repository:

    git clone https://github.com/Nirob-Barman/library-management-system.git
  2. Create a virtual environment and install dependencies:

    cd library-management-system
    python -m venv venv
    source venv/bin/activate  # On Windows, use `venv\Scripts\activate`
    pip install -r requirements.txt
  3. Apply database migrations:

    python manage.py migrate
  4. Create a superuser account for admin access:

    python manage.py createsuperuser
  5. Run the development server:

    python manage.py runserver
  6. Visit http://localhost:8000/admin/ to log in with the superuser account.

Usage

  1. Access the application at http://localhost:8000/.
  2. Register a new user account or log in.
  3. Borrow and return books, view transaction history, and update your profile.

Email Configuration

Ensure that your email settings are configured in the settings.py file for email notifications to work.

# settings.py

EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = 'your-smtp-server.com'
EMAIL_PORT = 587
EMAIL_USE_TLS = True
EMAIL_HOST_USER = '[email protected]'
EMAIL_HOST_PASSWORD = 'your-email-password'

About

Django-based library management system with user accounts, book borrowing functionality, and transaction tracking. Users can register, log in, borrow and return books, view their transaction history, and update their profile information. The system also includes email notifications for deposit transactions and book borrowing/returning events.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published