mrrobworks / spring-boot-angular-template Goto Github PK
View Code? Open in Web Editor NEWStarter Template to create a OAuth2 secured dockerized Spring Boot 2 Application with Angular 8 Frontend
License: MIT License
Starter Template to create a OAuth2 secured dockerized Spring Boot 2 Application with Angular 8 Frontend
License: MIT License
Edit the travis.yml for code analysis with SonarCloud: https://docs.travis-ci.com/user/sonarcloud/
For the Java code coverage by SonarCloud the Jacoco Reports are being used. For Typescript code coverage something like
sonar.typescript.lcov.reportPaths=target/test-results/lcov.info
need to be added.
Links:
Update Angular Frontend to Version 9.
https://blog.angular.io/version-9-of-angular-now-available-project-ivy-has-arrived-23c97b63cfa3
Update project to Spring Boot Version 2.2.
https://docs.spring.io/spring-security/site/docs/current/reference/htmlsingle/#oauth2client
Following test classes have to be written:
Create a Live Demo of the Spring Boot Angular Template with a link in the README.adoc.
In the frontend use for notifcations the ngx-toastr.
For running the Docker Package following steps are still to do:
TMP_REPO_DIR=https://raw.githubusercontent.com/mrrobworks/spring-boot-angular-template/master/
wget $TMP_REPO_DIR/docker-compose.yml
wget $TMP_REPO_DIR/docker-compose.ref.yml
mkdir -p ./backend/src/main/resources/db/migration/
wget -P ./backend/src/main/resources/db/migration/ $TMP_REPO_DIR/backend/src/main/resources/db/migration/V0_1__init.sql
wget $TMP_REPO_DIR/wait-for.sh
This can be reduced to:
TMP_REPO_DIR=https://raw.githubusercontent.com/mrrobworks/spring-boot-angular-template/master/
wget $TMP_REPO_DIR/docker-compose.yml
wget $TMP_REPO_DIR/docker-compose.ref.yml
To do so, it is necessary to replace the dockerfile-maven-plugin vom spotify with the docker-maven-plugin from fabric8io (https://github.com/fabric8io/docker-maven-plugin). With this multiple Docker images can be build, which is necessary to put the missing files in these images.
Adding tests for following frontend test classes:
The files in .idea/sonarlint/** are not being ignored and are untracked in the working tree from Git. Further more the .gitignore file need to be cleaned up.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.