In this tutorial, we will see how to implement a http service for uploading images, with presets and ready for the cloud.
The purpose is to have an image resizer with these functionalities :
- A secured route to have a token with an expiration date.
- Presets to adjust or add effects to images.
- Ready to deploy on the cloud (with heroku)
Summary:
features: docker, basic router, server
features: dependencies, gorilla mux, file), tests
features: resize, image encoding/decoding, table driven tests
features: basic auth, jwt, functionnal tests, middlewares
features: interface
features: docker multistage, goroutine, context, timeout