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
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.
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
- Clone the repo
git clone https://github.com/krniya/FunTick.git
- Install NPM packages (if you wants to create your own docker images)
npm install
or use the .yaml available in /infra/k8s folder.
Ensure Skaffold is installed and configured properly. You can check the Skaffold installation guide here.
Use Skaffold to build and deploy your services. Skaffold will use the configurations defined in skaffold.yaml.
skaffold devThis command will:
- Build Docker images for each microservice.
- Apply Kubernetes manifests to deploy the services.
- Stream logs from your running services.
To deploy without the continuous development mode:
skaffold runOnce all services are deployed and running, you can start interacting with your microservices. You can access your services through the ingress controller.
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!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt for more information.
Nitish Yadav - @krniya_ - krnitish@live.in
Project Link: https://github.com/krniya/FunTick