Git Product home page Git Product logo

bookmanager's Introduction

BOOK Manager

BookManager is designed to help users organize their books efficiently. It provides features to store books in boxes, retrieve them easily, and find them at any time. Additionally, BookManager offers recommendations on the most effective ways to store your books

Features

-> Create box and book -> Add books to and delete from the box -> perfom CRUD operations on Books and Boxes -> Search for the book

Installation

`

  • Clone the repository
  • install dependencies using npm install
  • Run the project using dfx start --host 127.0.0.1:8000 --clean --background
  • deploy locally `dfx deploy

`

Usage and endpoints

  • POST /Box: create the Box

    • example: { BoxName: "Fiction" }
  • GET /Box: Get all box

  • PUT /Box/{id}: updating the box

    • example: { BoxName: "Fiction" }
  • GET /Box/{id}: get single box

  • DELETE /Box/{id}:: delete single box

  • POST /Box/{id}/Book: create and add book in box simultanously

example :

{ 
   Title: "The 48 laws of power",
   Description: "This book illustrate the 48 laws to have power"
   Author: "Robert greene",
   Price: 45


}

- PUT /Book/removeBook/{Bxid}/Book/:BKid:Remove existing book in box

  • PUT /Box/addBook/:Bxid/Book/:Bkid: Add existing book in box
  • GET /Book: get all books
  • GET /Book/{id} :get one book
  • DELETE /Book/:id : DELETE EXISTING BOOK
  • PUT /Book/{id}: edit existing book
  • POST /Book/search/{id}: search the book in the box

bookmanager's People

Contributors

ndacyaalice avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.