Skip to content

jierm2/1989-shared-middleware_copy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project 1989 Shared Middleware

MMG Requirements

MMG Registration Route: PUT /addMMG

Each MMG must register with the middleware to enable participation in the course-wide mosaic generation. To register, send PUT /addMMG to the shared middleware with the following three required form variables:

  • name, the name of your mosaic microservice generator
  • url, the callback url for your mosaic microservice generator
  • author, your name/netid

MMG Mosaic Generation: Middleware -> POST {url}

A POST request will be sent to the {url} specified in the registration. The {url} will be appended with a query string to include the two global parameters:

  • tilesAcross, and
  • renderedTileSize

Additionally, the base image will be sent as the file image.

(Refer to Week #2 for details on how these are used in your mosaic generation.)

Middleware Routes

Frontend -> POST /makeMosaic

Initialize the mosaic creation process.

About

Shared Middleware for the 1989 Mosaic Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 44.9%
  • HTML 35.9%
  • JavaScript 12.3%
  • CSS 6.9%