TixMix
For sending emails locally, we are using mailhog
Install the following tools in you system
Create the following secrets
kubectl create secret generic app-env --from-literal=APP_ENV=development
kubectl create secret generic jwt-secret --from-literal=JWT_KEY=<secret>
kubectl create secret generic stripe-secret --from-literal=STRIPE_KEY=<secret>
kubectl create secret generic mail-host --from-literal=MAIL_HOST=mailhog-srv
kubectl create secret generic mail-port --from-literal=MAIL_PORT=1025You can get a stripe test api key from here.
Add the following to your host file
127.0.0.1 tixmix.dev
127.0.0.1 mailhog.local
Enable ingress
minikube addson enable ingressStartup minikube cluster, this requires docker running in your system
minikube startMake sure that the baseURL in clinet/api/build-client.ts is pointing to "http://ingress-nginx-controller.ingress-nginx.svc.cluster.local"
Spinup the applicaton
skaffold devIn case you are using windows with WSL you will need to also run the follwoing to be able to access the app through your browser
minikube tunnelYou can access the application by typing tixmix.dev into your browser.
You can access mailhog by typing mailhog.local into your brower.