Skip to content

Latest commit

 

History

History

api-gateway

API Gateway

Main technologies

  • Spring Cloud Gateway

Requirements

  • Java 17+
  • Redis

Project setup

  1. Setup a Redis instance
  2. Setup environment variables
    • Use Intellij Run Configurations to inject or manually with Gradle CLI
    • Available variables can be found at resources/application.yml

Free Redis instances: Redis

Build

./gradlew build

Run development environment

./gradlew bootRun

Generate JAR

./gradlew bootJar

JAR is generated at build/libs/

Run JAR

java -jar generated_file.jar