Skip to content

abizekv/books-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node.js & Express Book Management API

This is a simple REST API for managing a collection of books, created as part of a web development internship at ELEVATE LABS. The API supports basic CRUD (Create, Read, Update, Delete) operations and stores data in memory.

Tools Used

  • Node.js
  • Express.js
  • Postman (for testing)

How to Run

  1. Clone the repository: git clone <repository-url>
  2. Navigate to the project directory: cd nodejs-book-api
  3. Install dependencies: npm install
  4. Start the server: node index.js

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

API Endpoints

Method Endpoint Description
GET /books Get a list of all books.
POST /books Add a new book.
PUT /books/:id Update an existing book by ID.
DELETE /books/:id Delete a book by ID.

About

elevate-labs-task-3

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors