This repository is my way of learning microservices and cloud development. Nothing more, nothing less.
GetTix uses a number of open source projects to work properly:
- Docker - A robot that automatically deploys applications,aka Containers.
- Kubernetes- Container orchestration.
- skaffold - Command line tool that facilitates continuous development for Kubernetes applications.
- ingress-nginx- Ingress controller for Kubernetes
- Node.js - JavaScript runtime.
- Express - Fast node.js network app framework.
- Stripe - Online payment processing for internet businesses.
- Clone this repo to your local machine using https://github.com/ShaiDemri/ticketing.git
-
Create an account in Stripe and then copy your public and private keys from here
-
On your local machine define the following k8s secrets:
$ kubectl create secret generic stripe-secret --from-literal=STRIPE_KEY="your-PRIVATE-STRIPE-secret"
$ kubectl create secret generic stripe-public-key --from-literal=STRIPE_PUBLIC_KEY="your-PUBLIC-STRIPE-secret"
$ kubectl create secret generic jwt-secret --from-literal=JWT_KEY="your-JWT-secret"
-
Also, you'll need to configure ingress-nginx on your machine. Please follow along this instructions
-
Add
127.0.0.1 ticketing.dev
to your ~/etc/hosts file.