An application made using microservices architecture to buy and sell tickets.
Prerequisites
- Install Docker Desktop and enable kubernetes.
- Install
ingress-nginx
using :
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.1.1/deploy/static/provider/cloud/deploy.yaml
- Install skaffold.
Clone the project
git clone https://github.com/bhavesh112/gittix
Go to the project directory
cd gittix
Create JWT secret
kubectl secret generic jwt-secret --from-literal=JWT_KEY=secret
Tweak the hosts
file
- Windows
C:\Windows\System32\Drivers\etc\host
- Mac
/etc/hosts
- Open the respective file
- Add
127.0.0.1 ticketing.dev
in the file - This will allow ticketing.dev to act as
localhost
Command to run locally
skaffold dev
The application can be accessed by opening ticketing.dev
in the browser