This is your work, valued
I am a technology savvy professional. I love blogging.You can visit my blog at https://www.devglan.com
spring-security-jwt. In this article, we will be creating a sample REST CRUD APIs and provide JWT role based authorization using spring security to these APIs. We will be using spring boot 2.0 and JWT 0.9.0. In the DB, we will have two roles defined as ADMIN and USER with custom UserDetailsService implemented and based on these roles the authorization will be decided. We will be using spring data to perform our CRUD operations and spring provided annotations such as @PreAuthorize, @Secured and @EnableGlobalMethodSecurity for authorization.
121spring-boot-security-oauth2. This article aims to provide a working example of spring boot security and oauth2. It has implementation for resource server and authorization server and connection to database with bcrypt password encoder.
82angular6-example. In this article we will be building an Angular 6 application step by step from scratch with sample example. We will be generating our Angular 6 Hero application using angular CLI and then modify it to have a user management project where there will be a login screen for an admin and post login he can perform CRUD operations such as create, read, update and delete user with the sample REST API exposed using HttpClientModule.
73spring-boot-jwt. Java
59spring-boot-angular5. This repository has a sample code base for spring boot and angular 5 integration.
48angular8-demo. In this tutorial, we will be developing an Angular 8 application and perform CRUD operation on a user entity. We will be developing a full stack app with REST API integration. We will have a login, list user, add and edit user component and based on the routing configurations these pages will be served. We will have HTTP interceptor to intercept our HTTP request and inject JWT token in the header. The backend server code is implemented using Spring Boot.
45angular7-crud-example. Angular 7 CRUD Example (A Full Stack App)
34angular-5-material-design. This tutorial is about creating a sample application using angular 5 material design.To develop this app we will be using different angular 5 material components such as form controls, navigation menu, layout and buttons.
23rsaencryption. RSA Encryption and Decryption in java
21spring-boot-angular-deployment. The sample maven configuration to build spring boot and angular 5 project together as a war file.
21spring-boot-google-oauth. In this series of tutorial, we will be integrating social login such as Google with spring boot application using spring security 5 provided features.
19role-based-oauth2. In this article, we will be securing REST APIs with role based OAUTH2 implementation. To do so, we will be creating two custom roles as ADMIN and USER and we will use <code>@secured</code> annotation provided by spring security to secure our controller methods based on role.
14aes-encryption-javascript-java. In this article we will be creating an application with spring mvc and angular js client. We will have a login page with form inputs for userrname and password.
11spring-boot-security-oauth2-jwt-example. In this article, we will be discussing about OAUTH2 implementation with spring boot security and JWT token and securing REST APIs.In my last article of Spring Boot Security OAUTH2 Example, we created a sample application for authentication and authorization using OAUTH2 with default token store but spring security OAUTH2 implementation also provides functionality to define custom token store.Here, we will be creating a sample spring security OAUTH2 application using JwtTokenStore.Using JwtTokenStore as token provider allows us to customize the token generated with TokenEnhancer to add additional claims.
9angular6-material-example. TypeScript
8spring-cloud-gateway-demo. This article aims to provide a working example of spring cloud gateway integration with spring cloud.
8spring-websocket-without-stomp. how to maintain spring session during websocket connection through HandshakeInterceptor. Doing so we can track user session during every websocket request and can utilize this session to track client activities from the server or can be used to provide an extra level of security even after the server is connected through websocket protocol.
7react-js-example. This tutorial is about creating a full-stack app using Spring Boot and React.js with example. With spring boot, we will build our backend app to expose REST endpoints to perform CRUD operations on a USER entity.
7spring-cloud-gateway-websocket. We will learn about creating WebSocket connections in Spring Boot based microservice and Spring Cloud gateway. We will be creating an example app and demonstrate a sample chat based application.
7angular6-hide-sidenav-example. TypeScript
7spring-boot-hibernate-5-example. Java
7spring-security-ldap. In this tutorial we discussed about securing spring boot app with spring security LDAP authentication. We used ldif file for the textual representation of LDAP and used in-memory LDAP server UnboundId for this tutorial. We also defined our custom password encoder and used Bcrypt with it.
7spring-cloud-feign-example. In this tutorial, we will learn about creating web service clients with Feign in a spring cloud application with an example for REST based HTTP calls. Two different services will register themselves to Netflix discovery server and will have Feign client integrated with customer-service.
7angular6-sidenav-example. In this article, we will be discussing about angular material sidenav and integrate sidenav in an Angular 6 Single Page App along with MatToolBar. We will be creating a collapsible side navigation content on a menu icon click and on the click of the items inside the sidenav, different router components will be loaded in the primary content. To achieve this, we will be using different directives provided by angular material 6 such as <mat-sidenav-container>, <mat-sidenav-content>, <mat-sidenav>.
6react-js-material. JavaScript
6angular-material-newsletter. Below is the implementation of a sample newsletter subscription template in an Angular app using material design. To do so, first, we will generate a sample angular 7 app with Angular CLI.
5reactive-api-demo. learn about Spring WebFlux - reactive programming support for Web applications in Spring Framework 5 which is built on a Reactive Streams API to run on non-blocking servers.
5spring-boot-redis-cache. In this tutorial, we will be discussing the integration of Redis cache with Spring Boot by developing a CRUD operation example using Jedis and spring boot starter data redis. In the tutorial, we will explore 2 different ways to perform CRUD operations. First, we will be defining our custom RedisTemplate and use HashOperations to perform get and put operations on Redis server.
5spring-boot-rabbitmq. RabbitMQ is a widely used AMQP broker. In this article, we will learn how to integrate RabbitMQ with Spring Boot and develop a message producer and consumer example app with RabbitMQ and spring boot. We will be building a simple notification system and we will be testing the app with CommandLineRunner. The producer will publish the message to the direct exchange with routing key and the consumer consumes this message asynchronously.
5spring-boot-azure. In this article, we will be discussing about creating a storage account on Microsoft Azure and create a sample spring-mvc based java application to perform different file operations such as container create, read, write and delete files from the storage container.
5spring-boot-rest. Java
4node-socket-example. Node Js Chat Socket IO Example
4angular5-example. In this article we will be building a single page login application by using Angular 5 CLI command.The application will have routing and http integrated
3angular-5-websocket. This provides an example of integrating websocket with angular 5.
3spring-boot-file-upload. Java
3spring-boot-angular-captcha. spring-boot-angular-captcha
2spring-boot-graphql. In this article, we will be discussing how we can implement GraphQL in Java and integrate it with a real-time Spring boot project from scratch. The project will be a maven based project having spring data integrated to communicate with MySQL database.
2spring-mongo-query. In this article, we will learn about Spring data MongoDB queries with different ways to create and execute MongoDB queries in a spring boot project. We will learn to create various custom dynamic queries with multiple MongoDB operators to get started. For this, we will have a spring boot MongoDB application setup and create sample examples of all our learnings.
2config-repo. spring cloud config repo
2spring-websocket-integration. This post is about spring boot websocket integration with an example. It sends message to a particular user during spring websocket connection with STOMP using spring security features.
2kafkaexample. Apache Kafka maven Example. It has examples on java implementation of Kafka producer and consumer
2angular5-data-table. This tutorial is about angular 5 data table using mat-table directive with example. The table supports pagination, sorting, filtering and selection of rows using directives such as matSort, mat-paginator.
2spring-boot-kafka. In this article, we will be using spring boot 2 feature to develop a sample Kafka subscriber and producer application.We will take a look at the use of KafkaTemplate to send messages to Kafka topics,@KafkaListener annotation to listen to those messages and @SendTo annotation to forward messages to a specified topic.We will also take a look at how to produce messages to multiple partitions of a single topic and how those messages are consumed by a consumer group along with custom message converters in spring boot.
2spring-boot-soap-client. In this article, we discussed about exception handling while consuming SOAP web services using Spring SOAP client. We created our custom interceptor to define our custom exception handling logic.
1internship-2022. Java
1opennlp-ner-example. Java
1spring-boot-hibernate-login. In this article, we will be creating a sample spring boot and hibernate JPA example and add the functionality of user registration and login. This example can be a starting point to get started with a full-fledged spring boot and hibernate app.
1spring-boot-kafka-log. Sending Spring Boot Log4j log to kafka broker
1actuator-demo. Spring Boot Actuator Demo
1soring-boot-solace-example. In this article, we will be creating a sample Spring JMS Solace Example that will consume messages from a Solace Messaging queue and topic.
1angular5-data-table-master. TypeScript
1spring-boot-mongo. Java
1spring-cloud-prop-config. Today we will extend our previous article on Spring Cloud Config GIT backend to use JDBC Backend store to externalize our cloud config properties. We will be using MySQL (a relational database) for the JDBC backend store. For this example, the project will be built upon Spring Boot 2 with spring cloud version as Greenwich.SR1
1