Sprint 2 | Admin | Book C.R.U.D | GIF Processing & Upload
To-Do:
-
Implement an endpoint to receive GIFs
-
Validate the GIFs' format upon upload
-
Receive from controller the books name and other relevant information
-
If the book exists, update all gifs to the current list
The service receives GIFs related to a book, which are processed and stored in the database.
The system validates whether the book exists before adding or updating GIFs in bulk.
Given valid GIFs for a new book is sent to the upload endpoint
When the GIFs is uploaded to the service
Then the service should extract the metadata to identify the book
And if the book does not exist in the database, it should be added
And all associated GIFs are stored in the database for the new book