Hey guys, recently I get a chance to explore Nodejs and Express, in my opinion, I think NodeJS and Express is a great option for building restful web services because its easy, fast and you don’t have to learn a new...
Author - Bushan Sirgur
Hey in the previous post we discussed filtering expenses based on keyword, in this post, we will sort the expenses by expense name and amount. We will sort the expense name in ascending order and amount in descending order. So...
Hey in the previous post, we discussed deleting an expense, in this post let’s look at how to filter the expenses by keyword, meaning the user will enter the characters inside the textbox and we will filter the expenses...
Hey everyone, in the previous post we discussed updating the expense details, and in this post, we will discuss deleting an expense. we can delete expense from two different places, one is in the list expense page, where each...
Hey in the previous post we covered saving the expense details to the database, in this post we will cover updating the expense details. We will continue with the same example which we created in the previous post. Let’s...
Hey in this post, we will continue with the application which we created in our previous post. In this post, we will cover saving the expense record to the database. let’s begin… We will cover the following topics...
Hey in this post we will quickly create spring boot and angular 9 application and create rest endpoint to retrieve the list of records. We will also make HTTP GET requests from the angular application to the rest endpoint which...
Hey in this post, we will develop a full-stack web application using Angular 9 and Spring boot. We will connect this application to the MySQL database and perform the basic database operations like Create, Read, Update, and...
Hello, in this post we will display the list of expenses in the JSP view template. Let’s begin. First, we need to add the dependency for the JSTL tag library in...
Hello, in this post we will call the expense service method to get the list of expenses and print it in the console. let’s begin. Inside the MasterController modify the handler method...
Hello, in this post we will create Service and Repository for Expense. Let’s begin. First, create an ExpenseRepository under src/main/java/in/bushansirgur/expenseyoutube/repository...
Hello, in this post we will create an entity class for Expense. let’s begin. Create a class Expense under src/main/java/in/bushansirgur/expenseyoutube/model package We will use Lombok annotations @Setter, @Getter to...
In this post, we will configure the JSP view template in the Spring boot application. let’s begin. First, we need to add a dependency in pom.xml in order to use the JSP as a view template in Spring boot...
Hello in this post, we will set up the MySQL database and we configure the data source in the spring boot project. let’s begin. Create a MySQL database, CREATE DATABASE ecom; Execute the query to create the expense...
Hi in this post, we will create a Spring boot project using spring initializer Add the following dependencies to the pom.xml pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns=""...
Print matrix in Z form. Input: mat[][] = {1, 2, 3, 4, 5, 6, 7, 8, 9} Output: 1 2 3 5 7 8 9 public class PrintTheMatrixOrder { public static void printTheMatrix(int mat[][]) { for (int i = 0; i < mat.length; i++)...
Print all jumping numbers smaller than or equal to x. Input: x = 105 Output: 0 1 2 3 4 5 6 7 8 9 10 12 21 23 32 34 43 45 54 56 65 67 76 78 87 89 98 101 Note: A number is called as a jumping number if all adjacent digits in it...
Find if there is a rectangle in binary matrix with corners as 1. Input: mat[][] = {{1, 0, 0, 1, 0}, {0, 0, 1, 0, 1}, {0, 0, 0, 1, 0}, {1, 0, 1, 0, 1}} Output: YES Note: as there exists – 1 0 1 ...
Related posts: Login Form in JavaFX with MySQL Database Spring Boot, Hibernate and MySQL Web Application Video Course Spring Boot, Hibernate and MySQL REST API Video Course Angular 9 and Spring Boot CRUD Tutorial –...
Related posts: Spring Boot, Hibernate and MySQL REST API Video Course Spring Boot and JPA Video Course Angular 2 and Spring REST Simple CRUD Application Spring Boot, Hibernate and MySQL Web Application Video Course JavaFX and...
Related posts: Creating REST API using Spring Boot + Hibernate + MySQL Spring Boot and MongoDB REST API CRUD Tutorial Spring Boot, Hibernate and MySQL Web Application Video Course Complete CRUD Application with Spring Boot...
Related posts: Complete CRUD Application with Spring Boot, Hibernate and MySQL Spring Boot, Hibernate and MySQL REST API Video Course Creating REST API using Spring Boot + Hibernate + MySQL Angular 9 and Spring Boot CRUD...
Related posts: Angular 9 and Spring Boot CRUD Tutorial – Introduction and Setup Angular 9 and Spring Boot CRUD Tutorial – Feature 3 Update expense details Spring Boot Masterclass – Create Spring Boot Project using...
Related posts: Line chart with Multiple series using Highcharts and Spring boot Line Chart Using Highcharts Javascript Library Spring Boot Masterclass – Create Spring Boot Project using Spring Initializer 01 Spring Boot...
Related posts: Connect Google Firebase with Modern Javascript Background color change – Javascript Beginner [01] Convert javascript object to an Array Building Recepie App using HTML + CSS + Javascript + jQuery +...
Related posts: A Complete CRUD Application with Spring MVC and MyBatis/iBatis Spring Boot Masterclass – Setup the MySQL database 02 Creating MVC Database Web Application in JSP and Servlets – [Create, Read, Update...
Related posts: Creating MVC Database Web Application in JSP and Servlets – [Create, Read, Update, Delete] Building Restful CRUD API with Node.js, Express, Mongoose and MongoDB Building REST API with Node.js, Express and...
In this tutorial, we will learn creating a REST API using Spring Boot and MongoDB. We will perform the basic database operations like Create, Read, Update and Delete. So we will create a backend application using Spring boot and...
Print squares of diagonal elements in O(n) time complexity Input: 1 2 3 4 5 6 7 8 9 Output: 1 25 81 9 25 49 public class SquareOfDiagonal { static void printDiagonalSquare(int[][] mat) { int n = mat.length; int...
Find the length of unsorted subarray such that sorting this subarray can sort all the array. Print the start and end index. public class Solution { public static void unsortedArrayIndex(int ar[]) { int i = 0; int...