The Library Management System is a web application built using the MERN stack (MongoDB, Express, React, Node.js) to manage library resources efficiently. This application allows users to manage books, members, and transactions like borrowing and returning books.
- Add, update, delete, and view books
- Manage library members
- Track book borrowings and returns
- User authentication and authorization
- Responsive design
Follow these instructions to set up the project locally.
Make sure you have the following installed on your machine:
-
Clone the repository:
git clone https://github.com/yourusername/library-management-system.git cd library-management-system -
Install server dependencies:
cd server npm install -
Install client dependencies:
cd ../client npm install -
Set up environment variables:
- Create a
.envfile in theserverdirectory and add the following:MONGO_URI=your_mongodb_uri JWT_SECRET=your_jwt_secret
- Create a
-
Run the application:
-
Start the server:
cd server npm start or node --watch index.js -
Start the client:
cd ../client npm start
-
-
Access the application:
- Open your browser and navigate to
http://localhost:3000.
- Open your browser and navigate to
- Books Management: Add, update, delete, and view books.
- Members Management: Add, update, delete, and view members.
- Transactions: Manage book borrowings and returns.
We welcome contributions from the community! Follow these steps to contribute:
-
Fork the repository:
- Click the 'Fork' button at the top right of the repository page.
-
Edit the file:
- Make your changes to the desired file(s) in your forked repository.
-
Commit the update:
- Commit your changes with a meaningful commit message.
-
Create a Pull Request:
- Open a pull request to the main repository, providing a clear description of your changes.
-
Wait for approval:
- Wait for your pull request to be reviewed and approved.
If you have any questions, feel free to reach out to the project maintainers.
- LinkedIn: Poll Adhikary