shared-housing icon indicating copy to clipboard operation
shared-housing copied to clipboard

Initial scaffolding for matching microservice

Open tylerthome opened this issue 6 years ago • 1 comments

Overview

Create an initial setup for a Flask microservice responsible for performing matches between candidates

Action Items

  1. Create a Flask application accepting a JSON payload on a POST route
  2. Create a Dockerfile to include webservice and necessary scipy dependencies. Specifically, the Docker image must include the package(s) for scipy.optimize.linear_sum_assignment

Resources/Instructions

There is an example Flask application and associated Dockerfile in the shared housing application server source.

Any suggested changes to the details of this task can be discussed here.

tylerthome avatar Oct 13 '19 16:10 tylerthome

Hey Tyler, so it sounds like you just need an REST API with one POST route that we can add to it. I can write the code for this and create a requirements.txt file but I'm not sure how to write the Dockerfile. What fields should I use for the JSON to POST?

AlbertUlysses avatar Oct 20 '19 20:10 AlbertUlysses