Giter VIP home page Giter VIP logo

ticketing's Introduction

Ticketing App

This is a ticketing application built on microservices architecture. This application have several features:

  • Users can list tickets for an event for sale.
  • Users can purchase that ticket after signing up and providing credit card information.
  • Tickets will be locked for 15 minutes while the user is trying to purchase it.
  • If the ticket is not purchased in 15 minutes, the ticket will become available again.
  • Users can list a ticket for sale and can edit or delete the ticket.

The application is built using the following technologies:

  • React and Next.js for the frontend
  • Node.js and Express for the backend
  • MongoDB for the database
  • NATS Streaming Server for event bus
  • Docker and Kubernetes for containerization and deployment
  • Skaffold for deployment to Kubernetes cluster
  • Github Actions for CI/CD
  • Stripe for payment processing
  • Jest and Supertest for testing
  • Typescript for type checking

Architecture Diagram

I added the architecture diagram above to illustrate the components and their interactions in the application.

Prerequisites

Make sure you have the following installed on your machine:

  • Node.js
  • NPM
  • Docker
  • Kubernetes
  • Skaffold

Getting Started

To get the application up and running locally, follow these steps:

  1. Clone the repository: git clone https://github.com/ahsandani001/ticketing.git
  2. Create Docker images for all services: docker build -t your-username/{service} .
  3. Deploy the application to Kubernetes using Skaffold: skaffold dev

Docker and Kubernetes

The application is containerized using Docker and can be deployed to a Kubernetes cluster using Skaffold. To deploy the application, follow these steps:

  1. Make sure you have Docker and Kubernetes installed and configured on your machine.
  2. Build the Docker image for all services: docker build -t your-username/{service} .
  3. Deploy the application to Kubernetes using Skaffold: skaffold dev

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please open a GitHub issue or submit a pull request.

ticketing's People

Contributors

ceq-adanish avatar

Watchers

Ahsan Danish avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.