From 673565368c45b0aa6f5bd15854a91a3fcaf1b781 Mon Sep 17 00:00:00 2001 From: Dhirendra Kumar Rana Date: Sat, 19 Oct 2024 10:32:29 +0530 Subject: [PATCH] Create README.md --- README.md | 88 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..307d6ca --- /dev/null +++ b/README.md @@ -0,0 +1,88 @@ +# Library Management System API + +This project is a Library Management System API built using Node.js and Express.js. The API manages books, authors, students, and transactions (issuing and returning books). + +## Table of Contents +- [Getting Started](#getting-started) +- [API Routes](#api-routes) + - [Books API](#1-books-api) + - [Authors API](#2-authors-api) + - [Students API](#3-students-api) + - [Transactions API](#4-transactions-api) +- [Installation](#installation) +- [Technologies Used](#technologies-used) + +--- + +## Getting Started + +To get a local copy up and running, follow these simple steps. + +### Prerequisites + +You need to have Node.js and npm installed on your system. You can download them from [Node.js Official Website](https://nodejs.org). + +### Installation + +1. Clone the repository: + + ```bash + git clone https://github.com/your-username/library-management-system.git + + +2. Navigate to the project directory: + +cd library-management-system + + +3. Install dependencies: + +npm install + + +4. Start the server: + +npm start + +The server will be running at http://localhost:3000. + + + + +--- + +API Routes + +1. Books API + +Base Route: /api/v1/books + + +2. Authors API + +Base Route: /api/v1/authors + + +3. Students API + +Base Route: /api/v1/students + + +4. Transactions API + +Base Route: /api/v1/transactions + + + +--- + +Technologies Used + +Node.js: JavaScript runtime built on Chrome's V8 JavaScript engine. + +Express.js: Fast, unopinionated, minimalist web framework for Node.js. + +MongoDB: NoSQL database used to store book, author, student, and transaction data. + +Mongoose: ODM (Object Data Modeling) library for MongoDB and Node.js. +