Book Management System with NodeJS And MongoDB

My First Workflow

Introduction

Welcome to the Book System Management repository for a library! This project provides a comprehensive system for managing books, users, and borrowing transactions. It is built using Node.js, Express.js and utilizes several dependencies to enhance its functionality. The application is deployed on Render.com, utilizing a cloud database powered by MongoDB Atlas.

Dependencies

The Book System Management application relies on the following dependencies:

Dev Dependencies

nodemon - Automatically restarts the application on file changes during development.

Dependencies

  • bcryptjs Encrypts and compares passwords for user authentication.
  • cookie-parser Parses and handles cookies in HTTP requests.
  • date-fns Provides date utility functions for parsing, formatting, and manipulating dates.
  • dotenv Loads environment variables from a .env file into process.env.
  • express Web application framework for Node.js.
  • joi Validates and sanitizes user input data.
  • jsonwebtoken Generates and verifies JSON Web Tokens (JWT) for user authentication.
  • mongodb Official MongoDB driver for Node.js.
  • mongoose Object Data Modeling (ODM) library for MongoDB.
  • uuid Generates universally unique identifiers (UUIDs).

Deployment Steps

The Book System Management application is deployed on Render.com, utilizing a cloud database powered by MongoDB Atlas.

  1. Clone the Repository:
git clone https://github.com/davidmillan5/Book_System_Management.git
  1. Change Directory:
cd Book_System_Management
  1. Install Dependencies:
npm install

4.Configure Environment Variables:

  • Rename the .env.example file to .env.
  • Open the .env file and provide the required configuration values. For example, you may need to set the database connection details or other environment-specific settings.
  1. Run the Application:
npm start
  1. Access Application:

Once the application is successfully running, you can access it in your web browser by navigating to http://localhost:3000.

Also you can verify the endpoints of the app in the following link in render where the actual app reside: Book System Management

Testing

The Book System Management application has been thoroughly tested using Postman.

Postman - Endpoints

Postman EndPoints