Skip to content

antonyuhnovets/image-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image-manager

API for uploading, resizing and downloading images. Accepting images in png, jpeg.

Start:

  • docker-compose up

Endpoints:

  • /upload/file(png/jpeg)
  • /download/$id/$quality(100, 75, 50, 25)

Packages:

  • broker - producer and consumer for message broker.
  • config - set up local variables from enviroment.
  • controllers - manage sizing image.
  • handlers - handler functions for endpoints, manage API responses.
  • helpers - connecting to RMQ, declare channel and queue.
  • middlewares - message broker middleware.
  • routes - endpoints.
  • storage - set up storage, manage saving and getting images,
  • utils - generate uniq id and resize image functions.

About

API for uploading, processing and downloading images.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published