Skip to content

rifatcse09/MultiMesh

Repository files navigation

MultiMesh Microservices Project

This project implements a microservices architecture with a unified gateway, multiple services, and Kafka messaging. All components are containerized using Docker for easy orchestration.

Prerequisites

🚀 Services Overview

Service Tech Purpose
Gateway Node.js / Nginx Routes external traffic to internal services
Service 1 Laravel Business logic or API endpoint
Service 2 Laravel Another backend component
Service 3 Node.js Kafka message consumer
Kafka Kafka Message broker between services

Installation

To install the application, follow the steps below:

  1. Clone the repository:

    git clone https://github.com/rifatcse09/MultiMesh
    
  2. Navigate to the cloned directory:

    cd MultiMesh
    

🐳 Docker Usage

🔧 Build and Start Services

docker-compose up --build

The installation script checks for the existence of `docker-compose.yml` and `.env` files, and copies them from the example files if they do not exist. It also clones the latest version of Laravel, sets file permissions, installs Laravel dependencies, generates an application key, and restarts the containers.

## Configuration

Before running the installation script, review the `.env` file to set the environment variables. You can use `nano .env` to open the file for editing.

## Usage

To start the containers, run the following command:

docker-compose up -d


The containers can be accessed at:

- Nginx: `[http://localhost/service1/api/v1/kafka/publish`](http://localhost/service1/api/v1/kafka/publish)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published