Skip to content

ogz00/Micro-Wallet-Leo-Oguz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Micro-Wallet-Leo-Oguz

Docker Mysql SpringBoot Microservice Demo

run with

git clone https://github.com/ogz00/Micro-Wallet-Leo-Oguz.git
docker-compose up

Swagger Path

http://localhost:8080/api/v1/swagger-ui.html

API Path

http://localhost:8080/api/v1/

MYSQL Location

jdbc:mysql://db:3306/microwallet_db

For initialize test database from RESTApi with test curl requests

chmod +x curl.sh
./curl.sh

Run Test Sources

Since test cases are includes DataJpaTest feature,please enable h2db configuration from application.properties file priorly

Manuel Run Main Application

cd microwallet/
mvn spring-boot:run

In case of prefer to run with in-memory database, application could be run with h2db configuration as explained above.

Docker installation

https://docs.docker.com/install/linux/docker-ce/centos/

Docker Compose Installations

https://docs.docker.com/compose/install/