- Maven;
- FindBugs;
- Travis CI;
- Tomcat embedded;
- Spring Boot;
- JUnit;
- Mockito;
- Logback (as SLF4J facade);
- Spring Web;
- Spring Data JPA;
- Hibernate (as JPA implementation);
- MySQL Relation Database;
- Spring Security (as basic authentication);
- Angular JS, HTML, CSS.
mvn spring-boot:run
Go to https://localhost:8443
to test and must specify a username: user
and password: user
- POST request to
/api/v1/objects/
with a "object" object as JSON creates a new "object"; - GET request to
/api/v1/objects/
returns a list of "objects"; - GET request to
/api/v1/objects/1
returns the "object" with ID 1; - PUT request to
/api/v1/objects/3
with a "object" object as JSON updates the "object" with ID 3; - DELETE request to
/api/v1/objects/4
deletes the "object" with ID 4; - DELETE request to
/api/v1/objects/
deletes all the "objects".
https://localhost:8443/api/v1/objects
Message body: {"title":"Absorber", "value":"123123"}
Open browser and browse at: https://localhost:8443
To run the SonarQube use:
mvn clean install sonar:sonar