Code Monkey home page Code Monkey logo

bookcatalogue's Introduction

BookCatalogue

Projekt Programowanie Wizualne 2022

1. Encje

alt obrazek

2. Metody:

2.1 BooksRepository

  • GetBooks(title, authorId, category)
  • GetBookById(id)
  • AddBook(book)
  • UpdateBookImageUrl(bookId, imageUrl)
  • UpdateBook(book)
  • DeleteBook(book)

2.2 AuthorsRepository

  • GetAuthors(name, status)
  • GetAuthorById(id)
  • AddAuthor(author)
  • UpdateAuthorImageUrl(authorId, imageUrl)
  • UpdateAuthor(author)
  • DeleteAuthor(author)

2.3 ReviewsRepository

  • GetReviews(bookId, search)
  • GetReviewById(id)
  • AddReview(review)
  • UpdateReview(review)
  • DeleteReview(review)

2.4 ImageRepository

  • GetImage(name, directory)
  • PostImage(file, directory)
  • PutImage(file, directory, currentName)
  • DeleteImage(directory, name)

3. API:

3.1 BooksController

  • GET /api/books?author=&category=&language=&title=
  • GET /api/books/{id}
  • POST /api/books
  • PATCH /api/books/{id}
  • PUT /api/books/{id}
  • DELETE /api/books/{id}

3.2 AuthorsController

  • GET /api/authors?name=&status=
  • GET /api/authors/{id}
  • POST /api/authors
  • PATCH /api/authors/{id}
  • PUT /api/authors/{id}
  • DELETE /api/authors/{id}

3.3 ReviewsController

  • GET /api/reviews?bookId=&search=
  • GET /api/reviews/{id}
  • POST /api/reviews
  • PUT /api/reviews/{id}
  • DELETE /api/reviews/{id}

3.4 ImageController

  • GET /api/image/{directory}/{name}

bookcatalogue's People

Contributors

szpoka avatar wpiszczek avatar

Stargazers

 avatar

Watchers

 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.