Skip to content

krniya/FunTick

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Contributors Forks Stargazers Issues MIT License LinkedIn


Logo

Funtick

Funtick is a E-commerce site for general public to buy or sell tickets for any movies or consert
Explore the docs »

Report Bug · Request Feature

Table of Contents
  1. Getting Started
  2. Usage
  3. Contributing
  4. License
  5. Contact

Getting Started

This project demonstrates a ticket buying and selling service for general public implemented in microservices architecture using Node.js, Docker, Kubernetes, and NATS Streaming Services for event handling. We use Skaffold to manage the development workflow and Kubernetes Secrets for environment variables and an ingress is used to manage access to the services.

Prerequisites

Before you begin, ensure you have met the following requirements:

  • npm
    npm install npm@latest -g
  • Node.js (>= 18.x)
  • Docker
  • Kubernetes (Minikube or any Kubernetes cluster)
  • kubectl
  • Skaffold
  • Helm (for managing Kubernetes applications)
  • NATS Streaming Server

Installation

  1. Clone the repo
    git clone https://github.com/krniya/FunTick.git
  2. Install NPM packages (if you wants to create your own docker images)
    npm install

or use the .yaml available in /infra/k8s folder.

(back to top)

Skaffold Setup

Ensure Skaffold is installed and configured properly. You can check the Skaffold installation guide here.

Deploying the Microservices

Use Skaffold to build and deploy your services. Skaffold will use the configurations defined in skaffold.yaml.

skaffold dev

This command will:

  1. Build Docker images for each microservice.
  2. Apply Kubernetes manifests to deploy the services.
  3. Stream logs from your running services.

To deploy without the continuous development mode:

skaffold run

Usage

Once all services are deployed and running, you can start interacting with your microservices. You can access your services through the ingress controller.

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Contact

Nitish Yadav - @krniya_ - krnitish@live.in

Project Link: https://github.com/krniya/FunTick

(back to top)

About

Funtick is a E-commerce site for general public to buy or sell tickets for any movies or consert

Resources

License

Stars

Watchers

Forks

Contributors