This is a spring boot Java web application which demonstrates the use of Event bus library to handle different types of payment transaction events.
Clone this repository to your local machine and import it into the IDE as a maven project. Start the spring boot application and navigate to http://localhost:8080/ to initiate different kind of payment transactions.
You need to have the following software installed to run this project
1. Git installed in your machine
2. Java (minimum version 8)
3. Any IDE
4. Maven to build the project
Below steps will tell how to run the project
Clone the git repository using
git clone <link>
cd to the downloaded directory and run the below command ot start the project
./mvnw spring-boot:run
Now navigate to your broswer with the following endpoints
To initiate a cash payment event
http://localhost/cash
To initiate a credit card payment event
http://localhost/credit
To initiate a debit card payment event
http://localhost/debit
To initiate a ideal card payment event
http://localhost/ideal
Will be added later
To deploy this application using tomcat, run the below commands
mvn package
This will generate the jar package in arget folder. Run it using
java -jar target/eventbus-0.0.1.jar
- Spring Boot - The web framework used
- Maven - Dependency Management
- Event Bus - Google Guava Event Bus library to handle events
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Rakesh Venkatesh - Initial work - rakgenius
This project is licensed under the Apache License 2.0