pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/cloudlein/Bookself-API

link crossorigen="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-0fcd9af82350aeda.css" /> GitHub - cloudlein/Bookself-API: repository for completed final project · GitHub
Skip to content

cloudlein/Bookself-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bookself API

Bookself api is an api project that can store books containing name, year, author, publisher, number of pages, pages read, and whether the book has been read or not

Prerequisites

dependencies :

Installation :

  1. Clone this project
  2. Run npm install in your terminal
  3. Run npm run start in your terminal
  4. open your postman

How To Use :

#Add Some book

  • Method : POST
  • URL : /books
  • Body Request :
{
    "name": string,
    "year": number,
    "author": string,
    "summary": string,
    "publisher": string,
    "pageCount": number,
    "readPage": number,
    "reading": boolean
}

add new book

#Get all book

  • Method : GET
  • URL : /books

get all books

if there is no book you gonna get response body

{
    "status": "success",
    "data": {
        "books": []
    }
}

#Get detail book

  • Method : GET
  • URL : /books/{Bookid}

get detailed books

# Update book

  • Method : PUT
  • URL : /books/{Bookid}
  • Request Body :
{
    "name": string,
    "year": number,
    "author": string,
    "summary": string,
    "publisher": string,
    "pageCount": number,
    "readPage": number,
    "reading": boolean
}

update books

# Delete Book

  • Method : DELETE
  • URL : /books/{Bookid}

delete books

Need To Improve :

  • Integrated with database
  • ui

About

repository for completed final project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy