This is a sample python microservice project using GitHub Actions to be deployed in a containerized environment.
To start a local server run the following command:
uvicorn main:app --reloadTo run the app inside a Docker container, first build the Docker image with the following command:
make buildThen run the Docker container with the following command:
make runYou could then access your application at the following url: http://127.0.0.1:8080/
Unit tests are included in the test_logic.py file
To run tests run the following command:
make test