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.
- register to the app
- view and edit profile
- change password
- search books and view availabilty
- view issue history
- 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
- 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
- Initialise a package.json file by entering the following command in terminal, after getting into the project directory :
npm init
- Install npm packages required for backend side :
npm install
npm i -D nodemon
- 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 ..
- In the package.json of the server, add the following scripts :
"client-install": "npm install --prefix client",
"client": "npm start --prefix client",
- Install Redux for maintaining the state :
npm i redux react-redux redux-thunk
- start project
npm start