- In terminal, under your project directory and run
./mvnw spring-boot:run
to build - test the endpoint on Postman: http://localhost:8080/api/v1/version/check.
- check this Link to see if the server is online (You will see "Hello World from Zhongjie Shen" if the server is up)
- test the endpoint on Postman: http://3.128.186.177:8080/version-check-0.0.1-SNAPSHOT/api/v1/version/check.
You can send the POST request from Postman directly LINK
Here's an example JSON body
{
"firstVersionId": "3.1",
"secondVersionId": "2.2.0"
}
This project is built with Maven on Spring Boot v2.3.4.
- VersionCheckController.java
- VersionCheckService.java
- VersionCheckServiceUnitTest.java
- VersionCheckControllerIntegrationTest.java (TODO)
- AWS EC2
- EC2 Security group
- Tomcat 9
- Java 11
My LinkedIn: https://www.linkedin.com/in/zhongjis/ My AWS Certified Solutions Architect - Associate Badge