Skip to content

Latest commit

 

History

History
executable file
·
29 lines (19 loc) · 756 Bytes

Readme.md

File metadata and controls

executable file
·
29 lines (19 loc) · 756 Bytes

CareerCove

Build and run locally

  1. Install JDK - Amazon Corretto - JDK 11

Download link: https://docs.aws.amazon.com/corretto/latest/corretto-11-ug/downloads-list.html

  1. Setup maven

  2. Build service locally

Switch to service directory
mvn clean install

  1. Run locally

Execute service locally to connect to in-memory h2 database

java "-Dspring.profiles.active=local" -jar ./target/data-service-0.0.1-SNAPSHOT.jar

Execute service locally to connect to Postgres database

java "-Dspring.profiles.active=db" -jar ./target/data-service-0.0.1-SNAPSHOT.jar


Dev Utilities

Utility URL
Swagger UI <SERVER_URL>/data-service/api/swagger-ui/index.html
H2 Console <SERVER_URL>/data-service/api/h2-console/index.html