Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 554 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 554 Bytes

spring-webflux-demo

A Spring WebFlux demo application.

Start the application

Mongodb and Redis are needed to start the application. src/resourcs/applicaitn.yml specifies the configuration of dev and prod environment.

dev environment

Make sure Mongodb and Redis are accessible. ./gradlew bootRun to start the application.

prod environment

Docker is used to deploy the application. Make sure docker is installed.

./gradlew build # build a jar file
docker-compose up --build -d # start the application in docker