Skip to content

wearyeyes/music-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Music Service

A Music Service Application written in Java using Spring Framework.

It has three entities: Album, Song and Author.

Tools used: Java 11, Spring Boot 2.4.5, Spring Data Jpa, H2 DataBase, Maven, Lombok, Jackson, Swagger.

API

Albums endpoints

Get all albums

GET /albums

Get album by Id

GET /albums/{albumId}

Add new album

POST /albums

Update album by Id

PUT /albums/{albumId}

Delete album by Id

DELETE /albums/{albumId}
Songs endpoints

Get all songs

GET /albums/songs

Get all songs from album

GET /albums/{albumId}/songs

Get song by Id

GET /albums/{albumId}/songs/{songId}

Add new song in album

POST /albums{albumId}/songs

Update song information by Id

PUT /albums/{albumId}/songs/{songId}

Delete song by Id

DELETE /albums/{albumId}/songs/{songId}
Authors endpoints

Get all authors

GET /authors

Get author by Id

GET /authors/{authorId}

Add new author

POST /authors

Update author information by Id

PUT /authors/{authorId}

Delete author by Id

DELETE /authors/{authorId}

Releases

No releases published

Packages

No packages published

Languages