Skip to content

This is a library management system built in Mongodb, Express React and Node, It has advanced authenication and authorization features. One can borrow books and wait for admin. approval and many advanced features.

Notifications You must be signed in to change notification settings

DeveloperWilliams/library-management-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

Library Management System.

This is a Library Management System built using the MERN stack (MongoDB, Express.js, React, Node.js). The system supports multiple user logins, authentication, adding books to a cart, and requesting books.

Features

  • User Authentication: Secure login and registration for multiple users.
  • Book Management: Add, update, delete, and view books.
  • Cart Functionality: Add books to a cart for borrowing.
  • Book Requests: Request books that are not currently available in the library.
  • User Roles: Different roles for users (e.g., Admin, Member).

Technologies Used

  • Frontend: React.js
  • Backend: Node.js, Express.js
  • Database: MongoDB
  • Authentication: JWT (JSON Web Tokens)

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/library-management-system.git
    cd library-management-system
  2. Install dependencies for both frontend and backend:

    cd server
    npm install
    cd ../client
    npm install
  3. Create a .env file in the backend directory and add the following:

    MONGO_URI=your_mongodb_connection_string
    JWT_SECRET=your_jwt_secret
    PORT=your_port
  4. Start the development servers:

    cd backend
    npm run dev
    cd ../frontend
    npm start

Usage

  • Register a new user or login with existing credentials.
  • Browse the available books and add them to your cart.
  • Request books that are not available.
  • Admin users can manage the book inventory.

Contributing

Contributions are welcome! Please fork the repository and submit a pull request.

License

This project is licensed under the MIT License..

About

This is a library management system built in Mongodb, Express React and Node, It has advanced authenication and authorization features. One can borrow books and wait for admin. approval and many advanced features.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published