Giter Site home page Giter Site logo

robinhaider / ticketing-microservice-node Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 7.83 MB

A ticket buy and sell app with node microserices best practices, nats streamming server, typescript, nextjs, testing, and complete integration with docker and kubernetes.

License: MIT License

Dockerfile 0.61% TypeScript 89.68% JavaScript 9.71%
mongodb nats-streaming nextjs nodejs typescript

ticketing-microservice-node's Introduction

Ticketing Microservices with Node

A complete and production-ready microservice project built with Node.js that implements industry-standard best practices, including asynchronous communication and unit testing. Using github workflow for deployment in Digital Ocean. This project can be used as a reference or starting point for creating your own microservices.

Features

  • Authentication system with sign-up and login functionality (Auth Service)
  • Ability for users to add tickets for sale (Tickets Service)
  • Ability for users to purchase tickets (Orders Service)
  • Payment processing for ticket purchases (Payment Service)
  • Expiration service that automatically cancels orders that have not been paid for after a set period of time (Expiration Service)

Services

  • Auth Service
  • Tickets Service
  • Orders Service
  • Payment Service
  • Expiration Service
  • Common Module

Tech Stack

Client: React, NextJs

Server: Node, Express, MongoDB

Deployment: Docker, Kubernetes, Github Action

Kubernetes: Deployment, ClusterIp Service, Load balancer, Ingress-nginx,

Installation

Clone the repository. Install docker and enable kubernetes. Install Skaffold Cli.

Edit your host file (if windows "C:\Windows\System32\drivers\etc\hosts"). Add this

  127.0.0.1 ticketing.com

Then inside blog-micoservices-node/infra/ingress-nginx/ run

  kubectl apply -f ingress-controller.yaml

Then in root folder run

  skaffold dev

Now visit

  ticketing.com:81

ticketing-microservice-node's People

Contributors

robinhaider avatar

Stargazers

Jamal Jameel avatar

Watchers

 avatar

Forkers

nested101

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.