Skip to content

alifruliarso/spring-boot-blog-voting

Repository files navigation

Blog Voting Web Platform using Spring Boot and GridDB

Connect with me through Upwork, LinkedIn, Email, Twitter

Technology Stack

Spring Boot, Docker, Thymeleaf, Maven, chart.js
Database: GridDB 5.1.0

Run Application with Docker Compose

Build the docker image:

docker compose -f docker-compose-dev.yml build

Run the docker image:

docker compose -f docker-compose-dev.yml up

The website available at http://localhost:8080

For development supporting auto-reload

Prerequisites:

Format code

mvn spotless:apply

Example of API Payload see TestAPI.http

GridDB Operations

  • Exec into docker container
    $ su gsadm
    $ gs_sh
    gs> setcluster clusterD dockerGridDB 239.0.0.1 31999 $node0
    gs> connect $clusterD