Front end flask server code
This app will serve the html pages to user. This app only communicates with 'Front end flask'. https://github.com/zengchu2/frontend
This app can upload, get images and save (file_key, file_name) pair to db. Also this app will communicate with 'Memcache flask' to get cached file content and ask memcache to update its configuartion. https://github.com/zengchu2/1779frontend/
This is a memcache instance storing (key, name) pair, have different evict policy. https://github.com/actwang/ECE1779 or https://github.com/zengchu2/1779cache/blob/main/README.md (docker ver)
Endpoint | Description |
---|---|
/api/upload | Endpoint to upload file. |
/api/key/?key= | Endpoint to query image. |
/api/manager/clear | Endpoint to clear all data. |
/api/memcache/resize | Endpoint to announce frontend to resize cache pool |