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
- NodeJS : v18.16.0
- Express : v4.18.2
- ReactJS : v18.2.0
- Using MongoDB: v6.0.6 Using Mongosh: v2.0.2
You can find the Documentation inside /docs/ folder
- Clone the project
git clone git@github.com:MrAalu/LibraryManagementSystem_MERN.git
- Goto Both 'Frontend' and 'Backend' folder
cd frontend , cd backend
- 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
- 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
- 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
- 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
Starter Login Credentials : (Make sure to import database collections i.e. userdetails json file into the collections)
- ADMIN (user_type = "admin_user" ):
Email : admin@gmail.com , Password : admin
- Normal User Can be created by SignUp Page (user_type = "normal_user" ):
- Code Comments are Loveletter's you leave behind for your future self.
- If you cant Solve it, address it for your Future Self. He sure can!
Frontend : React, Bootstrap
Backend : Node, Express, MongoDB