ahmedeid6842/music-store

[Albums] Implement Get albums

Closed this issue · 0 comments

Requirement

at this pull request user should be able to get albums based on the passed query

Done:

  • Implement GET => /ablums?
    • validate request query which will be used in key search.
    • call getAlbum service and pass to it the query request
    • if everything is okay return the queries album
  • Implement getAlbum service
    • Create a query builder based on the based request query
    • find the album based on the query and return it .
    • don't forgot whenever you return album return the songs that is assigned to this album.
    • if Not album found return NotFoundException.