The project is based on a small web service which uses the following technologies:
-Java 1.8
-Spring Boot
-Database Mysql (you must create a database named 'workflow' and the system will initialize the database automatically)*
-Maven
-The architecture of the web service is built with the following components:
**DataTransferObjects: Objects which are used for outside communication via the API
**Controller: Implements the processing logic of the web service, parsing of parameters and validation of in- and outputs.
**Service: Implements the business logic and handles the access to the DataAccessObjects.
**DomainObjects: Functional Objects which might be persisted in the database.
For building and running the application you need:
There are several ways to run a Spring Boot application on your local machine. One way is to execute the main method in the com.example.demo.DemoApplication class from your IDE.
Alternatively you can use the Spring Boot Maven plugin like so:
mvn spring-boot:runYou should be able to start the example application by executing com.example.demo.DemoApplication, which starts a webserver on port 8080 (http://localhost:8080).
Useful curl commands to test.