Simple demo web API with client credential authentication for TropiPay based on Spring Boot over JDK 8. This is an example that shows an example of obtaining the user profile data from the authentication with an apikey.
Note: the credentials are specified in the src/main/resources/application.properties
file, using the key named ClientId and ClientSecret.
- Make sure JDK is installed and the JAVA_HOME system variable is configured.
- Download maven
- Add a MAVEN_HOME system variables, and point it to the Maven folder.
- Add %MAVEN_HOME%\bin To PATH
- mvn -version
- For further reference, please consider the following sections
- Create project skeleton
- mvn package
- mvn spring-boot:run
- http://localhost:8080/api/profile
For further reference, please consider the following sections: