Skip to content

matheusbloize/dio-java-spring-rest-api-bookstore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DIO Java Spring Rest API Bookstore

API creation proposed as a DIO challenge for cloud deployment.

Technologies

Class Diagram (Mermaid)

classDiagram
    class Book {
        -UUID id
        -String title
        -Publisher publisher
        -Set<Author> authors
        -Review review
    }

    class Author {
        -UUID id
        -String name
        -Set<Book> books
    }

    class Publisher {
        -UUID id
        -String name
        -Set<Book> books
    }

    class Review {
        UUID id
        String comment
        Book book
    }

    Book "*" -- "*" Author
    Book "1" -- "*" Publisher
    Book "1" *-- "1" Review
Loading

Links

API:

Swagger UI: dio-java-spring-rest-api-booksto-production.up.railway.app/swagger-ui/index.html

API Endpoints

GET    /books  
GET    /books/{id}  
POST   /books  
PUT    /books/{id}  
DELETE /books/{id}

GET    /authors  
GET    /authors/{id}  
POST   /authors  
PUT    /authors/{id}  
DELETE /authors/{id}

GET    /publishers  
GET    /publishers/{id}  
POST   /publishers  
PUT    /publishers/{id}  
DELETE /publishers/{id}

Swagger ui showing API endpoints of publishers and books Swagger ui showing API endpoints of authors

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages