file-server
file-server copied to clipboard
Update File-Server Compression and Decompression Processes
This pull request introduces support for multiple compression and decompression formats. Specifically, it adds strategies for handling .gz, .zip, .bz2, .xz formats, both for compressing and decompressing file.
I decided to use Strategy Pattern for easy swapping and extension of compression and decompression methods and to unify in only one method of the controller both APIs to compress or to decompress.
I also updated both the docs of Readme and postman collection.
Last, I optimized imports.