Skip to content

Mashi-Abeywickrama/RAD-Group-Assignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RAD-Group-Assignment

Library Management System (UCSC)

This is a sample web app to manage books and users. Issue books and returning of pre-issued books are also covered by this system.

Users & Functionalities

Student

  • register to the app
  • view and edit profile
  • change password
  • search books and view availabilty
  • view issue history

Admin

  • view and edit profile
  • search for books and view availability
  • view, Edit or Delete existing books
  • add new books
  • issue a book
  • return a book issued earlier
  • view all stats of the library
  • view issue log and the profile of students
  • view the profile of all admins

Created with MERN Stack

  • MongoDB - Document database - to store data as JSON
  • Express.js - Back-end web application framework running on top of Node.js
  • React - Front-end web app framework used
  • Node.js - JavaScript runtime environment

Middleware

  • Redux - For flux architecture, and fetching rapidly data
  • Mongoose - ODM for MongoDB

Steps followed to setup the project

Setting up server and database

  1. Initialise a package.json file by entering the following command in terminal, after getting into the project directory :
npm init
  1. Install npm packages required for backend side :
npm install
npm i -D nodemon

Setting up the client

  1. Create a folder 'client' in the project directory. Ensure that you have create-react-app CLI installed. Enter the following commands in terminal :
cd client
create-react-app .
cd ..
  1. In the package.json of the server, add the following scripts :
"client-install": "npm install --prefix client",
"client": "npm start --prefix client",
  1. Install Redux for maintaining the state :
npm i redux react-redux redux-thunk
  1. start project
npm start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5

Languages