Skip to content

Deboraj-roy/Library-Management-System-SinglePage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Library Management System - Single Page Application

Project Version
API Framework
Frontend Framework
Database
License

This is a Library Management System developed as a single-page web application using ASP.NET 8 for the backend and Angular 17 for the frontend. The system allows users to manage and track library books, categories, users, and their roles. It includes features for students and administrators with role-based access.


🌐 Live Demo


πŸ“‚ Project Structure

Backend (ASP.NET 8 API)

  • Framework: .NET 8
  • Database: Microsoft SQL Server 2016
  • Authentication: JWT Authentication
  • Key Features:
    • User authentication and authorization
    • Role-based access (Admin/Student)
    • Book and category management
    • Fine calculation for overdue book returns
    • User management (block/unblock users)

Frontend (Angular 17)

  • Framework: Angular 17
  • UI/UX: Single Page Application (SPA)
  • Key Features:
    • Authorization Module: Manages user login and registration
    • Student Panel:
      • View and borrow books
      • Check fine details
    • Admin Panel:
      • Manage books and categories
      • Block/unblock users
      • Monitor user activity

πŸ”‘ Key Features

1. Authentication System

  • Users can register and log in using their credentials.

2. JWT Authentication

  • Securely stores user information in tokens within the browser for session management.

3. Role-based Authorization

  • Admin and students have different access privileges, ensuring secure and role-specific operations.

4. Manage Books and Categories

  • Admins can add, update, and delete books and categories.

5. User Blocking

  • Admins can block or unblock users to manage access to the system.

6. Fine Calculation

  • Calculates fines for overdue book returns and displays them in the user panel.

πŸ› οΈ Technologies Used

Backend

  • Framework: ASP.NET 8
  • Language: C#
  • Database: MS SQL Server 2016
  • Authentication: JWT (JSON Web Tokens)

Frontend

  • Framework: Angular 17
  • Language: TypeScript
  • UI Components: Angular Material

πŸš€ Getting Started

Prerequisites

  • Node.js (for running Angular)
  • Visual Studio 2022 (for ASP.NET development)
  • SQL Server 2016 (for the database)

Backend Setup

  1. Clone the repository:
    git clone https://github.com/Deboraj-roy/Library-Management-System-SinglePage.git
  2. Open the API project in Visual Studio 2022.
  3. Update the connection string in appsettings.json to match your database configuration.
  4. Run the project to initialize the database and start the API.

Frontend Setup

  1. Navigate to the frontend directory:
    cd Library-Management-System-SinglePage/src/Front-end-web
  2. Install dependencies:
    npm install
  3. Run the Angular application:
    ng serve
  4. Open the application in your browser at http://localhost:4200.

🌟 Screenshots

Login Page
Login Page

Admin Dashboard
Admin Dashboard


πŸ“– Tutorial

This project is inspired by the tutorial from PROgrammer Rohan:
How to Build Library Management System with Angular and ASP.NET


🀝 Contributing

Contributions are welcome! Please open an issue or submit a pull request if you have suggestions or improvements.


πŸ“„ License

This project is licensed under the MIT License. See the LICENSE file for more details.


πŸ“§ Contact

For any inquiries or issues, feel free to contact me:
Deboraj Roy

Releases

No releases published

Packages

No packages published