Deploy & Run
Please refer to APIs Reference to view common aspects and on 'connecting & using databases' details.
Deployment
Open maven project in IntelliJ IDEA 2021.x Community Edition.
Locate
spring-java
folder which has maven projectemapi
:<Downloads>\EmGenDir_JohnDoe_WS_50639\WS_50639\backend\spring-java\emapi
.INFO: Old Locations were:
<Downloads>\EmGenDir_JohnDoe_WS_50639\WS_50639\backend\spring-java\EmDbRestApp50639\spring
.<Downloads>\EmGenDir_JohnDoe_WS_50639\WS_50639\TableServices\EmDbRestApp50639\spring
.Open
application.properties
, Uncomment/specifyspring.datasource.*
properties for your target database. Location for GraphQL project is:
<Downloads>\...\spring-java\emapi\app\dbrest\src\main\resources\application.properties
- Execute Maven actions
- clean
- package
- jar is generated in
/target
emapi\app\dbrest\target\dbrest-1.0-SNAPSHOT.jar
Right-Click on dbrest*.jar and Select -> Run.
Run Unit tests:
- Execute Maven action:
package
ortest
- Run Integration tests:
- Execute Maven action:
verify
Swagger REST API Explorer
Use Swagger-UI API Explorer, which is full-featured REST UI client, which lets you view and execute any REST endpoint.