Docker Mysql SpringBoot Microservice Demo
git clone https://github.com/ogz00/Micro-Wallet-Leo-Oguz.git
docker-compose up
http://localhost:8080/api/v1/swagger-ui.html
jdbc:mysql://db:3306/microwallet_db
For initialize test database from RESTApi with test curl requests
chmod +x curl.sh
./curl.sh
Since test cases are includes DataJpaTest feature,please enable h2db configuration from application.properties file priorly
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.