Skip to content
This repository has been archived by the owner on Apr 5, 2023. It is now read-only.

Add Flask. #15

Closed
barik opened this issue May 4, 2021 · 0 comments · Fixed by #16
Closed

Add Flask. #15

barik opened this issue May 4, 2021 · 0 comments · Fixed by #16
Assignees

Comments

@barik
Copy link
Contributor

barik commented May 4, 2021

In the branch tbarik/flask, I've added a simple server.py that runs a Flask server on port 5000. We should modify this to add another app route that calls the PyMacer functionality directly. We should be able to then test this route as an HTTP request using a tool like Insomnia.

This can be done with base Flask, without needing flask-restful.

From looking at Brain.py, this looks like mostly calling repairProgram at the REST endpoint.

@fahad30897 fahad30897 linked a pull request May 4, 2021 that will close this issue
@barik barik closed this as completed in #16 May 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants