shah-smit / techtrek-api

Home Page:https://explore.postman.com/templates/12008/tech-trek-2020-api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tech Trek

It is a simple spring-boot microservice

Tech Trek API Travis Report codecov Tag BCH compliance

Setup

Step 1: Install Dependencies

mvn install

Step 2: Run

mvn -Dspring.profiles.active=h2-db spring-boot: run

Step 3: Full documentation of the api-docs can be found here

Contributors

Notes:
mvn io.github.handofgod94:jacoco-cov-badge-maven-plugin:1.1.0:badge

Authentication Modules:

Authentication authentication = SecurityContextHolder.getContext().getAuthentication();
String currentPrincipalName = authentication.getName();
log.info("CurrentPrincipal Name {}", currentPrincipalName);