- Java 20
- Docker compose 3
gradlew.bat clean build
docker-compose up
gradlew.bat :ui-app:bootRun
gradlew.bat :api-gateway:bootRun
gradlew.bat :weather-app:bootRun
-
UI application will start at localhost:8080
-
Redis dashboard will start at localhost:8888
-
Visit localhost:8080
-
Try to open secured page
login: user
password: password
After login you should see the content of the secured page
If you go straight to the secured api, it will pass you because browser has the session cookie
http://localhost:8082/current-la-weather
But if you go into redis dashboard, remove the cookie and try to open the page one more time, it will return 403 as expected
docker-compose down