This is a library system built in Node.js, designed to manage books and their respective borrowers and readers. The system allows users to search, add, get, update, and delete books and users in a nosql database.
- Add, get, edit, and delete admins if you're a super admin
- Add, get, edit, and delete employees
- Add, get, edit, and delete members
- Add, get, edit, and delete books
- View detailed information about a specific admin, user or book
- Search for books
- Borrow books to members if you're an employee
- Read books in library
- Check with a daily cron job if members returned books within deadlines otherwise ban them for 1 week
- Prerequisites To run this application, you need to have Node.js and NPM (Node Package Manager) installed on your computer. You can download them from the official Node.js website: https://nodejs.org/en/
- Clone this repository https://github.com/mostafa2080/NodeJs-Project-
- Run npm install to install the required dependencies
npm install
- Run npm start to start the server
npm start
NODE_ENV=production npm start
- Access the api on http://localhost:8080
- Node.js
- Express
- MongoDB
- Mongoose
- JsonWebToken
- Bcrypt
- Filesystem
- Middleware
- Cron
This project was developed as part of the ITI Node.js course.