Project Description 📝
Library Management System built with Express.js, Node.js and MongoDB for the Access Bank YouThrive Backend Program's Final Project 4 Create a new project directory. Initialize a Node.js project and install necessary packages (Express, MongoDB, Mongoose, JWT, bcrypt).
Instructions
- Implement user registration and login using JWT.
- Hash passwords using bcrypt.
- Define Mongoose schemas for User, Book, Transaction.
- User: username, email, password, role.
- Book: title, author, ISBN, category, available_copies.
- Transaction: user, book, issue_date, return_date, status.
- Implement CRUD routes for books and members.
- Implement functionality to issue and return books.
- Ensure only admin users can manage books and members.
- Implement functionality to track overdue books and fines.
- Test all routes and functionalities thoroughly.