The Auto Shop application is made up of 4 microservices written in python using the flask framework:
- PortalService: The frontend of our application
- ProductManagement: Renders our products in which we can purchase
- OrderManagement: Generates productId upon purchase
- NotificationGateway: Uses Mailjet to send us email when purchase is made
The below will create the namespace app with the deployments and services needed to run the application
$ cd kubernetes/
$ kubectl apply -f autoshop-deployment.yaml
To then view the application in the browser run
$ kubectl port-forward svc/portal 5001:5001 -n app
you will need to cd into each service and run
$ opentelemetry-instrument python3 app.py
To run in docker reference the following docker-compose.yaml by running
$ docker-compose up