Cribbage Service is an API to support the Cribbage scoring engine for the classic card game.
python -m pytestCreate a virtual environment and type this pip command at the command line.
pip install -r requirements.txtThe below commands will run the server and will output a URL you can use to access it.
set FLASK_APP=app
flask runexport FLASK_APP=app
flask runor:
python app.pyThis repo is also set up to store a copy of the app as a docker container to the Azure container registry and deploy a copy of that container to Azure.
As well as providing a full API for scoring cribbage games, the server also has a simple React UI for manual investigation & use.
