The idea of this project is to create a very simple cache server, with the following API:
*When you access the server on '/' route it will give you all stored values
*To put something in cache you should write the folowing url "/put/<key>/<value>" - where <key> is the key you want to be using for accessing the value in future and <value> is the value you wish to assign to the key -> the value can be any data type that can be representet as string:
EXAMPLES:
-/put/myList/{[1,2,3,4,5]}
-/put/myDictionary/{'name':'Yonko','age':33}
-/put/myTuple/(2,3)
*To get a value from CACHE you should write an url of type"/get/<key>" where <key> is the key to the value you want to get.
*To delete a value from CACHE you should access an url of type"/delete/<key> where <key> is the key to the value you want to access
*To delete anything from CACHE you should access the url "/flush
You can safely exit server bu typing "quit".
The server uses pickle to save the cache in a file, so the cache can be recovered even if the server fails.