Skip to content

mostafa2080/library-system-nodejs

Repository files navigation

Library System

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.

Features

  • 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

Getting Started

  • 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/

Installation

  1. Clone this repository https://github.com/mostafa2080/NodeJs-Project-
  2. Run npm install to install the required dependencies
  npm install
  1. Run npm start to start the server

Local mongodb

  npm start

Atlas mongodb

  NODE_ENV=production npm start
  1. Access the api on http://localhost:8080

Technologies Used

  • Node.js
  • Express
  • MongoDB
  • Mongoose
  • JsonWebToken
  • Bcrypt
  • Filesystem
  • Middleware
  • Cron

Here is an Image for Planning & Steps :

Authors

Acknowledgments

This project was developed as part of the ITI Node.js course.

About

Complete Library System using Nodejs (RESTful API)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published