Microservices Architectured App

screenshot of Microservices Architectured App

Microservices Architectured App

Event-driven microservices architectured e-commerce app created using Express.js, Typescript, NATS-Streaming and Next.js


This product is an e-commerce web application designed for buying and selling tickets for various live events. It is built on a microservices architecture where multiple services handle different functionalities like authentication, orders, payments, and tickets. The use of microservices architecture makes the app more durable, fault-tolerant, and highly available. It leverages technologies such as Next.js, Express.js, MongoDB, Mongoose, Typescript, Stripe, Jest, Docker, Kubernetes, NATS Streaming, and Bull.js.


  • Microservices Architecture: The app is structured into multiple services communicating asynchronously via an event bus.
  • Authentication Service: Handles user authentication and authorization using JWT and cookie-based authentication.
  • Payment Handling: Integrates with Stripe for processing user payments.
  • Ticket Management: Manages tickets for different live events in the city.
  • Event-Driven Communication: Services communicate via an event bus (NATS Streaming) for seamless interactions.
  • Testing Support: Utilizes Jest and Supertest for testing the application functionalities.
  • Containerization and Orchestration: Uses Docker for containerization and Kubernetes for managing container orchestration.
  • Continuous Development: Skaffold command line tool facilitates continuous development for Kubernetes-native applications.


  1. Install dependencies using npm:
    npm install
  2. Start the development server:
    npm run dev


This e-commerce web application for buying and selling event tickets is built on a microservices architecture to ensure durability, fault tolerance, and high availability. Leveraging a range of technologies like Next.js, Express.js, MongoDB, Stripe, Docker, Kubernetes, and more, the app provides a robust and scalable solution for its users. The division of functionalities into separate services allows for efficient communication and handling of various aspects of the application, making it a modern and reliable platform for event enthusiasts.


Express.js is a simple Node.js framework for single, multi-page, and hybrid web applications.


Next.js is a React-based web framework that enables server-side rendering, static site generation, and other powerful features for building modern web applications.


A website that uses Docker for containerization to streamline development, testing, and deployment workflows. This includes features such as containerization of dependencies, automated builds and deployments, and container orchestration to ensure scalability and availability.


TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.