Giter Site home page Giter Site logo

spring-boot-rest-api's Introduction

Book Review API

This API allows you to Review a book where, you may leave Description of your Review, along with a mandatory rating between 0-10 Inclusive.

The API is available at localhost:8080/api/v1/bookie

Endpoints

All Reviews

GET /

Returns all Stored Reviews within the Database.

Submit a Review

POST /,

Along with Submitted JSON Content-Type including Review in Raw Data Format.

Allows you to submit a new Review.

The request body needs to be in JSON format and include the following properties:

  • bookTitle - Integer - Required
  • bookReview - String - Optional
  • bookRating - Integer - Required

Example

POST '/'

{
  "bookTitle": "Harry Potter and the Sorcerer's Stone",
  "bookReview": "7"
}

The response body will contain the Status Code along with No Message.

Update a Review

Put /studentID?{key being Updated = Updated Value} ID-Type: Long

Allows you to Update a review and change only the Review and/or the Rating.

Deleting a Review

DELETE /studentId

Allows you to Delete a review with Student ID: {studentId}

Book Average Rating

GET /{bookTitle}

Returns Book Rating Average for Specified Book Title

spring-boot-rest-api's People

Contributors

ziadmalik1 avatar

Stargazers

 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.