Skip to content

The RecipeRadar image retrieval service handles incoming recipe image requests from users of the frontend application

License

Notifications You must be signed in to change notification settings

openculinary/image-retrieval

Repository files navigation

RecipeRadar Image Retrieval

The RecipeRadar image retrieval service handles incoming recipe image requests from users of the frontend application.

Incoming requests are passed through imageproxy in order to resize and convert images into a PNG thumbnail for the consumer. This is configured via haproxy at the infrastructure level.

Image requests contain a RecipeRadar recipe-id unique identifier; the service performs a lookup to retrieve the corresponding image URL via the core api service, and makes a proxed request to retrieve the contents.

Outbound requests are routed via squid to avoid burdening origin recipe sites with repeated content retrieval requests.

Install dependencies

Make sure to follow the RecipeRadar infrastructure setup to ensure all cluster dependencies are available in your environment.

Development

To install development tools and run linting and tests locally, execute the following commands:

$ make lint tests

Local Deployment

To deploy the service to the local infrastructure environment, execute the following commands:

$ make
$ make deploy

About

The RecipeRadar image retrieval service handles incoming recipe image requests from users of the frontend application

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks