Posts

Showing posts with the label Angular 15

Angular + Spring Boot - Hello World Example

Image
In the section, we will create a project for Hello Word Example with Spring Boot 3 and Angular 15. Part 1 - Backend development Step 1: Creating a simple spring boot web application.   First, open the Spring initializr https://start.spring.io/ Then, Provide the Group and Artifact name. We have provided Group name com.knf.dev.demo and Artifact helloworld . Here I selected the Maven project - language Java - Spring Boot 3.0.1 and add Spring web dependency. Then, click on the Generate button. When we click on the Generate button, it starts packing the project in a .zip( helloworld .zip ) file and downloads the project.  Then, Extract the Zip file. Step 2: Import the project on your favourite IDE, I am using IntelliJ IDEA Final Project Directory: Pom.xml   <? xml version ="1.0" encoding ="UTF-8" ?> < project xmlns ="http://maven.apache.org/POM/4.0.0" xmlns: xsi ="http://www.w3.org/2001/XMLSchema-instance" xsi :schemaLocation =&qu

Spring Boot 3 + MongoDB + Angular 15 CRUD Application Example

Image
Hello everyone, today we will learn how to develop a full-stack web application that is a basic User Management Application using Spring Boot 3, MongoDB, and Angular 15. You could download the source code from our Github repository, the download link is provided at the end of this tutorial. After completing this tutorial what we will build?   We will build a full-stack web application that is a basic User Management Application with CRUD features:  • Create User  • List User  • Update User  • Delete User     We divided this tutorial into two parts.   PART 1  - Restful API Development with Spring Boot 3 & MongoDB. PART 2  - UI development using Angular 15. PART 1 - Restful API Development with Spring Boot 3 These are APIs that Spring backend App will export: Backend project structure: Maven[pom.xml] A Project Object Model or POM is the fundamental unit of work in Maven. It is an XML file that contains information about the project and configuration details utilized by Maven to build