/test-java-luis

Repositorio para crear una RestApi java usando java 11, agregando unit test

Primary LanguageJava


Test Project - Luis Eduardo Patiño


Technical Document


Starting

You need to do next steps to start with develop or run to this project.

Pre-Requirements

Java configuration:

  • Download version 11 of the JDk according to the operating system (JDK list)

  • To verify the version of java, we need to execute the following command:

    $ java -version

Run the API

Steps to run the API:

  • We must install or update the necessary dependencies for the API.

  • run the project using your IDE or console.


OpenAPI Documentation (Swagger)

In order to see the endpoints of the services, you must go to the browser and open the following url:

swagger-ui.html


Testing API

To run only tests without creating our application JAR/WAR/EAR file, execute test classes from your IDE.


Used Technology

Java Java

Spring Boot Spring Boot

Gradle Gradle

Rest Rest

OpenApi OpenApi

Lombok Lombok