/REST_API_PRACTICE

DevSecOps lessons

Primary LanguagePython

REST_API_PRACTICE

Mision1

build a new api using flask and python - foods API this apu must have 5 functions

the functions are:

  • getFood
  • deleteFood recives id
  • updateFood recives id
  • addFood
  • getFoodByID recives id

Mision2

Build a dockerfile for each one of the API's

Mision3

Build a k8s cluster (minikube) thats have 2 deployments each with 1 replicas of the pod

Build a service for each deployment

Use 2 diff ports to get to the pods:

  • One port used to get to the cars api
  • The other one will use to get to the food api