The goal of this project is to create a web application where the library manager/administrator can effectively track both physical books and ebooks in the library. The frontend is built using ReactJs, and the data is stored and managed using MongoDB.
- Track physical books in the library
- Manage ebooks in the library
- Utilizes ReactJs for a dynamic and interactive user interface
- Utilizes MongoDB for efficient data storage and retrieval
- React Js
- Express Js
- CORS
- Mangoose
- Axios
- Font Awesome
- Bootstrap
-
Install Node.js: Download and install Node.js from the official website. Node.js comes with npm (Node Package Manager) that you'll use later on.
-
Install MongoDB: Download and install MongoDB from the official website. Follow the installation instructions to complete the process.
-
Create a New Project Directory: Create a new directory for your MERN stack project.
-
Initialize the Project: Navigate to your project directory and run the following command to initialize a new npm project:
npm init -y
-
Install Dependencies: Install the necessary dependencies using npm:
npm install express body-parser cors mongoose nodemon concurrently
-
Set Up the Server: Create a new file called
server.js
in your project directory and set up the server using Express.js and MongoDB. Refer to the Express.js and MongoDB documentation for details. -
Set Up the Client: Navigate to your project directory and run the following command to create a new React.js app:
npx create-react-app client
-
Run the Project: Open two terminal windows - one for the server and the other for the client. In the first terminal window, navigate to your project directory and run the following command to start the server:
npm run server
In the second terminal window, navigate to the client directory and run the following command to start the client:
npm start
- React Js
- MongoDB
- HTTP
- CSS
The skeleton of this project is inspired by and refers to previous work, whose authors are the same as this project. ChethanPai, Anudeep KK and Nishanth Bhat