This project is designed to demonstrate new Spring 5 WebFlux Framework
with Kotlin and Angular 4.
- Spring Framework 5
- Spring Boot 2.0.0
- Spring WebFlux
- Kotlin 1.1.51
- Gradle 4
- Angular 4
- Webpack 3
- Gradle 4
- Docker
- Node + npm
use
./gradlew
instead ofgradle
if you didn't installedgradle
# build Spring Boot server application
gradle server:build
# install Angular client dependencies
gradle client:npm_install
# build Spring Boot server application
gradle server:build
# install Angular client dependencies and run AoT compilation
gradle client:npmProdBuild
use
./gradlew
instead ofgradle
if you didn't installedgradle
Start server
# as a Java application
gradle server:bootRun
# as a Docker image
gradle server:docker
Start client in development mode using webpack-dev-server
gradle client:npmStart
Start client in production mode using Nginx inside Docker container
gradle client:docker