Spring-boot based microservice to track income of the coupons system - system that allows companies to issue coupons for a certain services or goods, and customers to buy the coupons.
- Clone this repository to your local folder
- Import as Maven project
- Install Maven dependencies
- Start MySQL service and create database called "kuponimincome"
- In the application.properties configure datasource according to your MySQL configuration
- In the application.properties change property spring.jpa.hibernate.ddl-auto to "create" and start application. This will create all the necessary database data structure
- In the application.properties change property spring.jpa.hibernate.ddl-auto back to "update" and start application
- Perform some create / update / purchase coupons operations in Kuponim client application (with Kuponim server running)
- Check the system income records by entering "localhost:8088/incomes" in your browser