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.
The Book System Management application relies on the following dependencies:
nodemon - Automatically restarts the application on file changes during development.
- 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).
The Book System Management application is deployed on Render.com, utilizing a cloud database powered by MongoDB Atlas.
- Clone the Repository:
git clone https://github.com/davidmillan5/Book_System_Management.git
- Change Directory:
cd Book_System_Management
- 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.
- Run the Application:
npm start
- 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
The Book System Management application has been thoroughly tested using Postman.