Removes the front end HTML files from app, including:
Libraries and infrastructure to build HTML
Templates
Routes the served these files - the app is now just a single API route
Replaces Flask with FastAPI
This is intended to make asyncIO a little easier. If should be orders of magnitude more efficient than the original App since most time is consumed talking to the SAM API.
This required replacing the request library with one capable of async I/O. httpx is the typical choice for FastApi and works well with the test suite.
This required some minor changes around the way the requests are handled
Reduce the amount of data send to the browser. The original app sent all the reps & certs from SAM which was about 600k of data for each page of a search. None of this is needed by the front end.
Reduces some of the logging.
The original app wrote logs to the file system and was "chatty". The platform (probably Google App Engine) will record access logs for us. So we should just log errors unless we need to debug
Started adjusting documentation to reflect these changes (still some work to do)
Primary changes:
Removes the front end HTML files from app, including:
Replaces Flask with FastAPI
request
library with one capable of async I/O.httpx
is the typical choice for FastApi and works well with the test suite.Reduces some of the logging.
Started adjusting documentation to reflect these changes (still some work to do)