Skip to content

ngdangkietswe/ndk-microservices

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DKMicroservices

Simple Microservices with Spring Boot and gRPC

Prerequisites

Installing required tools

  • Once the prerequisites are installed, run the command in folder /docker.
docker-compose -f docker-compose.yml up -d

docker-compose

  • Docker Containers

    docker-containers

System Architecture

system-architecture

Project Structure and Technical Stack

  • Project Structure

    project-structure

  • Technical Stack

Spring Cloud Spring Security Rest Server gRPC Server Postgresql RabbitMQ ElasticSearch Redis
Config Server x
Service Registry x x
Api Gateway x x x x x
Auth Service x x x
Employee Service x x x x
Department Service x x x
Notification Service x x x x
Location Service x x
Tracking Service x x x x
Recruitment Service x x x x
Attendance Service x x x x
  • Services Port
Rest Server Port gRPC Server Port
Config Server 8088
Service Registry 8761
Api Gateway 8003
Auth Service 8004 8040
Employee Service 8002 8020
Department Service 8001 8010
Notification Service 8005 8050
Location Service 8006 8060
Tracking Service 8007 8070
Recruitment Service 8008 8080
Attendance Service 8009 8090

Run on Local

  • Run with IntelliJ IDEA

  • Run command in root project /dkmicroservices

mvn clean install

Run Project with Docker

  • Need only download docker-compose.prod.yml
  • Run command
docker-compose up -d
  • Containers

    docker-container-prod

CI/CD

  • Pipeline

    pipeline

  • Jenkins

    jenkins

    cicd-api-gateway

  • Docker Hub

    dockerhub

About

Microservices | gRPC | Redis | Docker | PostgreSQL | RabbitMQ | ElasticSearch | Jenkins, ...

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages