Skip to content

Ticket exchange app, just like stubhub.com. Microservices application project using Node.js, React, NATS, Docker, K8s, etc.

Notifications You must be signed in to change notification settings

IMTejesh95/gittix-ticketing-app

Repository files navigation

Logo

GitTix - Ticketing App

Users can exchange - sell or buy tickets for any events. Ideally a bsaic clone of StubHub.

  • Microservices based application with asynchronous communications architecture.

Running on your local machine

Prerequsites

Initial Setup

Start Minikube Cluster & Enable ingress plugin

minikube start

Enable ingress addon for Minikube

minikube addons enable ingress

Add host entry for your minikube node

Know your minikube node IP using following command

minikube ip minikube

Now add open /etc/hosts file and append new host as (filename or path may differ as per your OS)

192.168.49.2    gittix.dev

You can replace ticketing.dev hostname of your choice, just need to update the ingress service config host name here.

Start the services

Clone the repo

git clone https://github.com/IMTejesh95/gittix-ticketing-app.git && cd gittix-ticketing-app

Create kubernets secrets

Make sure you use the correct namespace, refer this

kubectl create secret generic jwt-secret --from-literal=JWT_KEY=asdf -n gittix
kubectl create secret generic stripe-secret --from-literal=STRIPE_SECRET_KEY=sk_test_key -n gittix

Start all services in development mode usingskaffold

Skaffold will build the Docker image for each service and apply the deployments.

skaffold dev

After success logs for each service you can visit the gittix client app on https://gittix.dev

NOTE: You may get warning propmt on browser for untrusted certificate, to bypass on chrome you can click on site anywhere and type THISISUNSAFE.