Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 1.08 KB

README.md

File metadata and controls

24 lines (18 loc) · 1.08 KB

spring-mysql-elastic

Dockerized Spring POC implementing the synchronization and the data querying between MySql and ElasticSearch engine.

Requirements

Make sure to have the followings installed:

Build and run

  • Locally

    • Create a database in MySql elasticsearch
    • Run mvn clean package spring-boot:run to build the artifact and run the application
    • Run ./elasticsearch script inside the bin directory of the elastic search package
  • Docker

    • Run docker-compose up --build -d to run the docker services

Documentation (Swagger)

Visitit http://localhost:8080/swagger-ui.html to visualize the exposed API endpoints.