Skip to content

opstree/OT-Microservices-Training

Repository files navigation

OT-Microservices

A loaded microservice applications for doing different kinds of POC. This is a sample Employee System which is designed to understand the microservices nature and behaviour.

Purpose

The purpose of creating this application is to provide an individual, a holistic idea of microservice architecture, it's working, and its setup.

Applications

These are few microservices which are getting used in this complete project.

Application Name Default Port Dependency Language Description
attendance 8081 MySQL Attendance is a microservice which is designed in Golang to manage employee's attendance information.
employee 8083 Elasticsearch Employee microservice is also designed in Golang to manage employee's information.
salary 8082 Elasticsearch Salary is also a golang based application which creates and manages employee's salary information.
notification - SMTP Server Notification is a scheduled service which gets used to send mail notifications to employees.
frontend 5000 Gateway Frontend is written in ReactJS and gets served using nginx proxy, config can be found here
gateway 8080
  • attendance
  • employee
  • salary
  • notification
Gateway is a springboot based API gateway which manages the routing between applications.
webserver 80 frontend Webserver is a nginx based proxy which proxies the frontend application.

For further information about the component you can click on the application.

Databases

These applications are using two kinds of databases, one is structured and other is non-structured.

Application Name Default Port Dependency Description
elastic 9200 - Elasticsearch is being used as non-structured database which manages the employee's information and salary.
mysql 3306 - MySQL is getting used for structured database which manages the employee's attendance information.

For further information, click on the DB.

Architecture

The architecture of the complete microservice interaction looks like this:-

Screenshot

Quickstart

The quickstart of application can be started using docker and docker-compose. We can use simple docker-compose command to build the images and start the setup.

# To build the all images of ot-microservices
make build-images

# To start the setup locally
make setup

For further details checkout GETTING_STARTED

Release History

Please see our CHNANGELOG.md for details.

Contact

If you have any suggestion or query. Contact us at

[email protected]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published