Angular Library and App Compatibility Playground.
Created with Spring initializr:
- Java language version 15
- Gradle project type
- Spring Boot 2.3.4
- Group: com.okode
- Package name: com.okode.backend
- Packaging: Jar
- Dependencies: Spring Reactive Web
./gradlew bootJar
docker build . -t backend
docker run -ti -p 8080:8080 backend
Start backend and run:
curl -v http://localhost:8080/hello/john
the expected response is:
{ "response": "Hello, john" }
Created with:
- Angular CLI: 10.1.4
- Node: 14.13.0
ng new library-ng10 --createApplication=false
cd library-ng10
ng generate library library-ng10
Customizations:
- Added
ngcc
command to build task inpackage.json
:
"build": "ng build --prod && ngcc"
npm ci
ng build my-library --prod