This project is a Library Management System built using React for the frontend and Node.js for the backend. It allows users to manage books, users, and lending processes efficiently.
- Frontend: React, Vite, TailWindCss
- Backend: Node.js, Express
- Database: MongoDB
- Node.js installed on your machine
- npm (Node Package Manager) should be included with Node.js
-
Clone the repository:
git clone https://github.com/vaibhav-rm/Library-management-system.git cd Library-management-system
-
Install dependencies for the frontend:
npm install
-
Install dependencies for the backend:
cd backend npm install
To run the frontend, use the following command (by default runs at http://localhost:8000
):
npm run dev
This will start the Vite development server, and you can access the application at http://localhost:5173
.
To run the backend, first, navigate to the backend directory:
cd backend
Then, run the following command:
npm run dev
This will start the Node.js server, and you can access the API endpoints as specified in the backend code.
- User authentication (login/register)
- Book management (add, remove, update, view)
- User management (add, remove, update, view)
- Lending management (track borrowed books, due dates, etc.)
If you want to contribute to this project, feel free to fork the repository and submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for more details.
http://localhost:8000/api/v1/{ENDPOINT}
Parameter | Type | Description |
---|---|---|
ENDPOINT |
string |
Required. which resoruce you want to use |