Welcome to the Book Manager!
The project conatains 3 directories frontend
, backend
and Photos
.
To start the Backend server:
- Goto
backend
folder in your terminal - Run
npm install
- Run
npm start
This should start the backend server
You can test whether the server is up or not by clicking on localhost:5000/.
This should give you We are live
message!
To start the Frontend server:
- Goto
frontend
folder in your terminal - Run
npm install
- Run
npm start
This should start the frontend server
You can test whether the server is up or not by clicking on localhost:3000/.
This page will bring you to the Login page.
Email: [email protected]
Password: admin
Email: [email protected]
Password: user
- Issue a book from the library
- Return a book already issued by the user
- Search a book by its Title, Author Name and Year of Publication
- See the most frequently issued books
... All the normal User features plus,
- Add a new Book to the library
- Change the number of copies of an already existing book in the library
- Delete a Book from the library
Please find the screenshots of different pages in Photos directory.
The User
databse contains the following fields:
- _id
- firstName (string)
- lastName (string)
- password (string)
- emailid (string)
- books (Array) [Contains the id of the books this user has issued]
- isAdmin (boolean)
The Books
databse contains the following fields:
- _id
- title (string)
- author (string)
- year (string)
- copies (number) [The number of copies of this book available in the library]
- borrowed (number) [The number of times this book has been issued so far]