Skip to content

πŸ“š Library Management System Full PROJECT (MERN Stack) ✨ with Book Recommendation System (Content-Based-Filtering) πŸ”₯

Notifications You must be signed in to change notification settings

MrAalu/LibraryManagementSystem_MERN-with-Book-Recommendation-Algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

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

Repository files navigation

Library Management System πŸ“š

Its a Project related to Books management for a Libraries πŸ“œ.

NOTE : This isn't an Ecommerce Website (There is no Payment System here)

FrontEnd is divided into two parts (ADMIN && CLIENT)

ADMIN can do -
1.manage books i.e. add/remove/update/delete books.

2.Check user' details i.e. name/id/borrowed book/etc

3.Confirm user's book request && Confirm book Return

4.Manage Book Charges(Extra fee's for not returing book in time)

CLIENT can do -
1.Basic book surfing's and checking availablities

2.Request for a book

3.Viewing/CRUD Operations on Profile || Dashboard

Version Specifications :

  1. NodeJS : v18.16.0
  2. Express : v4.18.2
  3. ReactJS : v18.2.0
  4. Using MongoDB: v6.0.6 Using Mongosh: v2.0.2

Demo

Documentation

You can find the Documentation inside /docs/ folder

How to run Project locally :

  1. Clone the project
  git clone git@github.com:MrAalu/LibraryManagementSystem_MERN.git
  1. Goto Both 'Frontend' and 'Backend' folder
  cd frontend , cd backend
  1. Install dependencies on Both Frontend & Backend
  npm install

NOTE : In 'backend' make sure to create a '.env' file and copy paste the values of '.env.example' into newly created '.env' file

  1. Start the Frontend and Backend

NOTE : If you have any issues or queries about Backend, refer to /backend/BackendInfo/ folder for details

  npm run dev
  1. Once you Run Backend(Server), database will be created automatically on Mongodb & You just have to Import the TABLE Data which is Stored in folder 'mongoDatabase'

For Backend :

make sure your MondoDB server is running (you can check this via windows Services)

open the mongoDB Compass (GUI for mongodb,download if u dont have) and from there you can import the data into respective collections

Import respective .JSON file into database Collection

How to run Project using Docker :

  • Populate localhost mongodb database (explained in Step5 above).
  • goto .env and make sure to use correct 'CONNECTION_URL'
  • then, goto main folder location i.e. cd LIBRARYMANAGEMENTSYSTEM_MERN/ and use command :
docker-compose up

Login Credentials

Starter Login Credentials : (Make sure to import database collections i.e. userdetails json file into the collections)

  1. ADMIN (user_type = "admin_user" ):
 Email : admin@gmail.com , Password : admin
  1. Normal User Can be created by SignUp Page (user_type = "normal_user" ):

Lessons Learned

  1. Code Comments are Loveletter's you leave behind for your future self.
  2. If you cant Solve it, address it for your Future Self. He sure can!

Tech Stack

Frontend : React, Bootstrap

Backend : Node, Express, MongoDB

Developed By :- @MrAalu

About

πŸ“š Library Management System Full PROJECT (MERN Stack) ✨ with Book Recommendation System (Content-Based-Filtering) πŸ”₯

Topics

Resources

Stars

Watchers

Forks

Languages