/credit-simulator-api

This project was created to start the initial steps with test automation for a REST API using RestAssured.

Primary LanguageJavaMIT LicenseMIT

Credit Simulator API

This project was created to start the initial steps with test automation for a REST API using RestAssured.

About the API

How to start the API

First, clone or download this project. After:

  1. Navigate to the project folder using the Terminal / Command prompt
  2. Execute the following: mvn spring-boot:run
  3. Wait until you see something like this: Started CreditSimulatorApplication in 6.53 seconds
  4. The API is ready and listen all requests on http://localhost:8089

How to change the port

The default port is 8089. If you want to change the port to another one, execute the following command, replacing the text <NEW_PORT>.

mvn spring-boot:run -Dspring-boot.run.arguments=--server.port=<NEW_PORT>

How to access the documentation (Swagger)

After the application has started open the link: http://localhost:8089/swagger-ui/index.html

Do you want to help?

Please read the Contribution guide