Angular + Spring Boot MongoDB CRUD Example

Introduction In this post we will create Angular + Spring Boot MongoDB CRUD Example. In my previous tutorial on Spring Boot MongoDB CRUD Example, we did not have any UI or front-end, so we had to test out application using REST client but here we will use Angular on front-end side so that we can easily make this application as…

Spring Boot MongoDB CRUD Example

Spring Mongo CRUD Here you will see a post on Spring Boot MongoDB CRUD example, where CRUD means Create, Read, Update, and Delete operations. For performing CRUD operations on MongoDB through Spring Boot framework, you need to add required dependency. I will use Spring REST controller to publish the MongoDB CRUD operations using REST or RESTful API. Related Posts:

Spring Boot Data JPA CRUD Example

Spring Data JPA CRUD You will see here Spring Boot Data JPA CRUD example. CRUD is an acronym that means Create Read Update and Delete operations. I will use an in-memory h2 database in order to perform CRUD operations in database. I have other example on Spring Data JPA CRUD example but the application does not use Spring Boot. In…

Upload file using React and Spring Boot

Introduction In this tutorial you will see how to upload file using React and Spring Boot technologies. React or React JS will be used as a client side or front end technology and Spring Boot will be used as a server side technology for uploading file. I will upload file to server using Spring REST API. As a server side…

Download file using React and Spring Boot

Introduction In this post you will see how to download file using React JS and Spring Boot. There are situations where you need to download file from server or you need to generate report from database and download it. This example may help you in that situation. Here I will fetch records from database and download in a JSON format….

Download File Using Angular And Spring Boot REST

Download File – Spring Boot REST API In this post I will show you how to download file using Angular framework and Spring Boot. There are situations when you need to download file from server or you need to generate report from database and download it. This example may help you in such situation. I will build the Spring Boot…

Drools Support In Spring Boot 2

Spring Drools You will see an example on drools support in Spring Boot 2. You might have seen in past example on how to integrate drools in Spring application. I had used Spring Boot version 1.5.9 but here it will support Spring Boot 2.1.5 to 2.7.2 versions. I will not explain about drools in this post and if you want…

Exception Handling in Spring Boot Application

Table of Contents Introduction Prerequisites Project Setup Entity Class Repository Interface Exception Classes Advice for Exception Spring REST Controller Spring Boot Main Class Testing Exception Handling Source Code Introduction This post will show you an example on exception handling in Spring web application. In other words, you can also say exception handling in Spring MVC. I will use handle exception…

HATEOAS driven REST API using Spring Boot

Introduction In this post you will see an example on HATEOAS driven REST API using Spring Boot. An approach that breaks down the principal elements of a REST approach into three steps are resources, http verbs and hypermedia controls: Without using any mechanism of the web, HTTP is used as a transport system for remote interactions. Every individual service end…

Spring Boot Security Example – Single Sign On Using OAuth 2

Introduction Here you will see Spring Boot Security Example – Single Sign On using OAuth 2. Single Sign On or simply SSO is a property of access control of multiple related, yet independent, software systems, where a user logs in with a single set of credentials (username and password) to gain access. Here I will use Spring Boot 2.14/2.7.0. I…