shared-housing
shared-housing copied to clipboard
Initial scaffolding for matching microservice
Overview
Create an initial setup for a Flask microservice responsible for performing matches between candidates
Action Items
- Create a Flask application accepting a JSON payload on a POST route
- 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.
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?