Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 875 Bytes

README.md

File metadata and controls

32 lines (23 loc) · 875 Bytes

AgathaChristieBookRepo

A repository for Agatha Christie books where users can search for a book, add a new book, update price of a book and delete a book.

Motivation

Applied recent learnings to develop a simple REST API.

Tech/Frameworks

Node.js Express MongoDB Mongoose Joi

Built with VScode

Features

A user can search for a book by name (can either type the entire name or partial name). A user can add details of a book into the MongoDB database A user can update the price of a book by name and format of the book (can either type the entire/partial name and format of the book). A user can delete a book by name (can either type the entire name or partial name).

Installation

Install a package

use npm i packagename

Run the file

use npx nodemon index.js

Tests

Postman was used to test the developed API by sending HTTP requests.