Skip to content

zxdhiru/library-api-backend

Repository files navigation

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

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.

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/library-api-backend.git
    
    
  2. Navigate to the project directory:

cd library-api-backend

  1. Install dependencies:

npm install

  1. Start the server:

npm start

The server will be running at http://localhost:8000.


API Routes

  1. Books API

Base Route: /api/v1/books

  1. Authors API

Base Route: /api/v1/authors

  1. Students API

Base Route: /api/v1/students

  1. 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published