Manage library as a librarian, and borrow, return, and read books as a user.
Website Category: Library Management Web
email: [email protected]
password: Ihateu123@
- User Authentication
- Social Login
- Email Password Login & Register
- Private Route
- LogOut
- Only librarian can add and update books.
- Users cannot update or add books.
- Only librarian can manage books.
- Users can borrow a book.
- Users can return a book.
- Users cannot borrow more than 3 books.
- Category-based books.
- Writers-based books.
- Featured book of the week.
- Available books filtering.
- Share review on each book.
- Added search on banner (login required).
- React Tooltip
- SwiperJS
- Ant Design
- React Hot Toast
- react-icons
- axios
One of the challenges faced during development was displaying books based on their categories and authors. To solve this, I leveraged MongoDB's aggregation pipeline:
- Lookup: Used
$lookup
to join the books collection with the categories and authors collections to get the corresponding category and author details. - Match: Applied a
$match
stage to filter out books based on selected categories and authors. - Projection: Used
$project
to specify the fields to be included in the final output, ensuring only relevant information is displayed.
This approach allowed efficient querying and dynamic filtering of books based on user preferences, enhancing the user experience in browsing and discovering books.
https://github.com/ShejanMahamud/NestQuest-Client.git
npm instal
Dev Mode:
npm run dev
Build Mode:
npm run build