Skip to content
This repository was archived by the owner on Apr 3, 2024. It is now read-only.

jlee3227/ticketing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ticketing

A StubHub clone to learn and understand microservice architecture. Built with:

  • Node
  • React
  • MongoDB
  • Docker
  • Kubernetes
  • ingress-nginx
  • NATS Streaming Server

Running Locally

Note: You must have Docker and Skaffold installed on your local machine. In addition, if you are on Mac or Windows, you will need to add the line 127.0.0.1 ticketing.dev to your host file.

To run the application locally:

  • Change directories to the root of the project
  • Ensure that you have ingress-nginx installed (The Mac instructions work for Windows)
  • Make sure to create a secret named jwt-secret with a key-value pair of JWT_KEY=<secret> as well as stripe-secret with a key-value pair of STRIPE_KEY=<Stripe API key>
  • run skaffold dev in your terminal

Future Improvements

  • Add refresh tokens to authentication
  • Add database transactions
    • Along with whatever we are saving to the database of the service, we want to save the event being published and wrap both in a database transaction

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published