Skip to content

shawnppitts/TheAutoShop

Repository files navigation

The Auto Shop

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

image

Running in Kubernetes:

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

Running locally with python:

you will need to cd into each service and run

$ opentelemetry-instrument python3 app.py

Running Docker Compose:

To run in docker reference the following docker-compose.yaml by running

$ docker-compose up

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published