Skip to main content

Deploy & Run

Please refer to APIs Reference to view common aspects and on 'connecting & using databases' details.


  1. Open maven project in IntelliJ IDEA 2021.x Community Edition.

    Locate spring-java folder which has maven project emapi: <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.

  2. Open, Uncomment/specify spring.datasource.* properties for your target database. Location for GraphQL project is:

  • <Downloads>\...\spring-java\emapi\app\dbrest\src\main\resources\
  1. Execute Maven actions
  • clean
  • package
  • jar is generated in /target
  • emapi\app\dbrest\target\dbrest-1.0-SNAPSHOT.jar
  1. Right-Click on dbrest*.jar and Select -> Run.

  2. Run unit tests:

  • Edit emapi\pom.xml : Disable skipTests via: <skipTests>false</skipTests>
  • Execute Maven action: package or test

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.