Microservices application with Services that include User Authentication, Ticket Creation, Order Creation, Payment and timed expiration. Front-end is built using service-side rendering Next.js and reusable code is packaged into an npm module named common.
https://kubernetes.github.io/ingress-nginx/deploy/#docker-for-mac
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v0.43.0/deploy/static/provider/cloud/deploy.yaml
skaffold dev
kubectl create secret generic jwt-secret --from-literal=JWT_KEY=asdf
cd common
npm run pub
cd tickets
npm update @bc_tickets/common
cd tickets
npm run test
kubectl get pods
kubectl port-forward nats-depl-75854b5b89-dbbdz 4222:4222
brew install doctl
DigitalOcean dashboard > API > Generate New Token
doctl auth init
and paste in the generated token
doctl kubernetes cluster kubeconfig save <cluster_name>
kubectl config view
kubectl config use-context <context_name>
Settings > Secrets > New repository secret
kubectl create secret generic jwt-secret --from-literal=JWT_KEY=asdf
https://kubernetes.github.io/ingress-nginx/deploy/#digital-ocean
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v0.43.0/deploy/static/provider/do/deploy.yaml
see cert-manager.io
see Mailchimp/Sendgrid