Giter Site home page Giter Site logo

mrrobworks / spring-boot-angular-template Goto Github PK

View Code? Open in Web Editor NEW
57.0 57.0 36.0 2.36 MB

Starter Template to create a OAuth2 secured dockerized Spring Boot 2 Application with Angular 8 Frontend

License: MIT License

Java 39.06% TypeScript 43.33% JavaScript 1.66% HTML 12.95% CSS 1.44% Shell 1.47% Dockerfile 0.09%
angular docker docker-compose java oauth2 spring-boot spring-security spring-security-oauth2 starter-kit starter-template typescript

spring-boot-angular-template's People

Contributors

mrrobworks avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

spring-boot-angular-template's Issues

Log in to top navigation bar

  • In the top navigation bar add a new entry Sign in or Log in
  • Remove Log in site from home site
  • When click on Log in in the top navigation bar open the Login site

Add Typescript Code Coverage to sonar-project.properties

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:

Writing backend tests

Following test classes have to be written:

  • AppRoleControllerTest
  • AppRoleRepositoryImplTest
  • AppRoleServiceImplTest
  • AppUserControllerTest
  • AppUserRepositoryImplTest
  • AppUserServiceImplTest

CSS adjustments

  • Create a clean CSS design across all frontend sites
  • Remove unnecessary style definitions and place them in CSS files

Optimize Docker Packaging

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.

Writing frontend tests

Adding tests for following frontend test classes:

  • role-delete.component.spec.ts
  • role-detail.component.ts
  • role-list.component.ts
  • user-detail.component.spec.ts
  • user-detail.component.ts
  • user-list.component.ts

Improve .gitignore file

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.