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.
Main Page
Search Author Page
Add Author Page
Edit Author Page
Search Book Page
Add Book Page
Edit Book Page
BookByAuthor Page
The application is organized into several key directories and files, each serving a specific purpose in the application’s architecture:
(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.
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
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
C:\Program Files\MongoDB\Server\<version>\bin
) and add it to the system’s PATH environment variable.After successfully installing MongoDB, you can start the MongoDB service using Homebrew by running:
brew services start mongodb/brew/mongodb-community
Start MongoDB by running the MongoDB service, which was set up during the installation process.
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:
http://localhost:3000/
LibraNet represents a modern take on library management, integrating traditional library functions with the advantages of web technology for accessibility and ease of use.