LibraNet

LibraNet - A Web Library Application

Overview

LibraNet is a web-based application that emulates the functionalities of a traditional library, allowing users to manage books and authors. It provides a comprehensive platform for adding, updating, deleting, and viewing books and authors. The application is built using modern web technologies, ensuring a responsive and intuitive user experience.

You can access the deployed application here.

Project Structure

The application is organized into several key directories and files, each serving a specific purpose in the application’s architecture:

Functionalities & Features

Technologies Used

Setup and Installation

(Note: Specific setup and installation instructions would depend on further details within each file, especially server.js for starting the server and package.json for dependencies.)

Follow these steps to get everything up and running.

Prerequisites

For macOS Users

Step 1: Install Project Dependencies

First, ensure you are in the project’s root directory. Then, install the necessary Node.js dependencies by running the following command in your terminal:

npm install

Step 2: Install MongoDB

For macOS Users Using Homebrew

a. Add the MongoDB Repository to Homebrew

Open your terminal and execute the following command to tap the MongoDB Homebrew repository:

brew tap mongodb/brew

b. Install MongoDB

Once the repository has been tapped, install MongoDB with the following command:

brew install mongodb-community

For Windows Users

  1. Download MongoDB for Windows: Visit the MongoDB Download Center, select the Community Server tab, choose “Windows” as your operating system, and download the installer.
  2. Install MongoDB: Run the downloaded installer and follow the setup wizard. Choose the “Complete” setup type and opt to install MongoDB as a service.
  3. Add MongoDB to the PATH Environment Variable: Locate the MongoDB bin directory (default is C:\Program Files\MongoDB\Server\<version>\bin) and add it to the system’s PATH environment variable.

Step 3: Start MongoDB

For macOS Users

After successfully installing MongoDB, you can start the MongoDB service using Homebrew by running:

brew services start mongodb/brew/mongodb-community

For Windows Users

Start MongoDB by running the MongoDB service, which was set up during the installation process.

Step 4: Start the Server

With MongoDB running, you are now ready to start the project server. Run the following command:

npm run start

You will see in the console:

serverStart.png

Step 5: Open the URL in your browser:

http://localhost:3000/

Conclusion

LibraNet represents a modern take on library management, integrating traditional library functions with the advantages of web technology for accessibility and ease of use.