Skip to content

shubhamlatkar/springPlayground

Repository files navigation

Spring Boot Applications

Gitpod Ready-to-Code Spring Spring-Boot MongoDb Database Intellij Intellij-idea

This repo contains sample mvn spring-boot projects for:-

  • spring-mongodb contains Spring-Bot JPA and Mongo Repository.
  • spring-h2-sample H2 in memory DB sample with spring boot .
  • spring-security Spring security with in memory users and Http basic auth for REST Api's.
  • spring-DBAuth Spring security with DB integrated Http basic auth for REST Apis's.
  • spring-DBAuth-jwt Spring security with DB integrated JWT token auth for REST Apis's.
  • spring-cloud Sample spring boot microservices with eureka server and eureka client with api-gateway.
  • spring-kafka Spring Cloud event driven example using kafka asa event bus.
  • spring-boot-gradle Sample spring boot project with gradle.
  • config Spring configurations folder.
  • ELK-Stack ELK stack for logs.
  • Logging Spring boot logging sample.
Sample spring boot project with gradle:-
Sample For spring cloud streams using apache kafka as event bus:-
  • kafka-server Kafka and zookeeper docker-compose container.
  • kafka-consumer Spring cloud streams cloud consumer consuming messages on the topic from kafka.
  • kafka-consumer Spring cloud streams cloud producer producing messages on the topic to kafka.
Sample Eureka server with eureka clients microservices and hystrix dashboard for the fallback and monitoring:-
Sample CURD operations with MongoRepository for:-
  • Users Documenet
  • Roles Document
  • Authorities Document
Spring-boot h2 in memory persistant DB sample for:
  • User Table
  • Role Table
  • Authorities Table
Spring security with in memory authentication with basic http auth:-
  • In memory user with fixed roles and credential's for authentication with basic http auth.
Spring boot with mongo db authentication with Basic Http auth includes:-
  • Users with credential's authentication from mongo DB.
  • Roles based route authentication.
  • Permission based route authentication.
Spring boot with mongo db authentication with JWT token Authentication for the routes. It includes:-
  • Users with credential's authentication from mongo DB.
  • Login and signup route open to all.
  • Token based authentication for all the remaining routes.