erfansahebi / lamia_nginx

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lamia

Project with microservice architecture.

Project Overview

Microservices with API Gateway which handles incoming HTTP requests. HTTP requests will be forwarded to these Microservices by gRPC. Additionally, we deal with Authentication, Redis and PostgreSQL.

Architecture

Microservice architecture is an architectural style that structures an application as a collection of small, loosely coupled, and independently deployable services. In this architecture, each service represents a specific business capability and can be developed, deployed, and scaled independently. Services communicate with each other through well-defined APIs, typically over lightweight protocols like HTTP or messaging queues.

gRPC is a high-performance, open-source framework developed by Google for building remote procedure call (RPC) systems. It uses Protocol Buffers (protobuf) as the interface definition language (IDL) for describing the API contract between the client and server. gRPC supports multiple programming languages, including Go, Python, Java, and more.

Prerequisites

  • Git
  • Docker

Getting Started

Repositories:


1. Install git

sudo apt install git-all

2. Pull Lamia EnvDev

git pull https://github.com/erfansahebi/lamia_envdev

In this repo, we have a shell for pulling all Repositories.

3. Pull all Repositories:

chmod +x build.sh
sh build.sh

4. Make Docker Images

make build

5. Set Environments

cp .env.example .env

6. run Docker:

dokcer compose up --build -d

About


Languages

Language:Dockerfile 63.1%Language:Makefile 36.9%