Spring Boot + Angular 10 CRUD Example Tutorial

Go to Part 1
In this tutorial, we will learn how to develop a full-stack CRUD (Create, Read, Update, Delete) web application using Angular 10 as a front-end and Spring boot 2 restful API as a backend.
Check out Angular 9 with spring boot 2 integration example at Spring Boot + Angular 9 CRUD Example Tutorial.
Check out Angular 8 with spring boot 2 integration example at Spring Boot + Angular 8 CRUD Example Tutorial.
Check out Angular 7 with spring boot 2 integration example at Spring Boot 2 + Angular 7 CRUD Example.
Check out Angular 6 with spring boot 2 integration example at Spring Boot + Angular 6 CRUD Example.

Goals

We will develop a FULL STACK application with Angular 10 and Spring Boot.

You can download the source code of this tutorial from my GitHub repository at the end of this tutorial.

Check out Angular 8 + Spring Boot Basic Authentication Example - You can implement basic login and logout features in this CRUD example. All the REST calls made from Angular to Spring Boot will be authenticated using Basic Authentication.

Spring Boot + Angular 10 CRUD Example Tutorial - 5 Part Series

To keep it simple, I divide this tutorial into 5 parts, and here are the topics that I am going to cover in each Part.

1. Spring Boot + Angular 10 CRUD Full Stack - Part 1 - Develop Spring Boot CRUD Rest APIs

  • create employee
  • list employee
  • delete employee
  • update employee
  • get employee by id
2. Spring Boot + Angular 10 CRUD Full Stack - Part 2 - Create an Angular 10 App
  • Install the latest version of Angular CLI
  • Create Angular 8 client application using Angular CLI
  • Identify Components, Services, and Modules
  • Create Service & Components using Angular CLI
  • Integrate JQuery and Bootstrap with Angular
3. Spring Boot + Angular 10 CRUD Full Stack - Part 3 - Develop Angular 10 CRUD Operations
  • Create an Employee class
  • Employee Service
  • Creating Employee List Template and Component
  • Create Add Employee Template and Component
  • Update Employee Template and Component
  • Create View Employee Details Template and Component
4. Spring Boot  + Angular 10 CRUD Full Stack - Part 4 - Angular 10 CRUD App Configuration
  • npm package.json - Configure Dependencies
  • App Routing Module
  • App Component
  • App Component Template
  • App Module
  • Main Index Html File
  • Main (Bootstrap) File
  • Polyfills
  • TypeScript tsconfig.json
5. Spring Boot 2 + Angular 10 CRUD, Part 5 - Running Angular 10 CRUD App
  • Running Angular 8 Client Application
  • Demo

    Features Implementation

    • Create an Employee
    • Update an Employee
    • List of Employees
    • Delete Employee
    • View Employee

    What we will build?

    Basically, we will create two projects (Client and Server):
    1. springboot2-jpa-crud-example: This project is used to develop CRUD RESTFul APIs for a simple Employee Management System using Spring Boot 2, JPA and MySQL as a database.
    2. angular10-springboot-client: This project is used to develop single page application using Angular 10 as front-end technology. This Angular 10 application consumes CRUD Restful APIs developed and exposed by a springboot2-jpa-crud-example project.
    Below are the screenshots shows UI of our Employee Management System App:

    Employee List Page


    Add Employee Page


    Update Employee Page


    View Employee Details Page


    Tools and technologies used

    Server-side technologies

    • Spring Boot - 2.0.5.RELEASE
    • JDK - 1.8 or later
    • Spring Framework - 5.0.8 RELEASE
    • Hibernate - 5.2.17.Final
    • Spring Data JPA - 2+

    Front end technologies

    • Angular 10
    • Bootstrap 4
    • npm- 6.9.0
    • JQuery
    • Node js 10+

    Tools

    • Maven - 3.2+
    • IDE - Eclipse or Spring Tool Suite (STS) // Spring boot API development
    • Visual Studio 2017 // Angular App development
    • Angular CLI 10

    Move to Part 1 - Develop Spring Boot CRUD Rest APIs

    In the next part 1 of this tutorial series, we will learn how to create CRUD REST APIs using Spring Boot 2.

    Use below links to visit different parts of this tutorial:

    1. Spring Boot + Angular 10 CRUD Example Tutorial - Main Tutorial
    2. Spring Boot + Angular 10 CRUD Full Stack - Part 1 - Develop Spring Boot CRUD Rest APIs
    3. Spring Boot + Angular 10 CRUD Full Stack - Part 2 - Create an Angular 10 App
    4. Spring Boot + Angular 10 CRUD Full Stack - Part 3 - Develop Angular 10 CRUD Operations
    5. Spring Boot  + Angular 10 CRUD Full Stack - Part 4 - Angular 10 CRUD App Configuration
    6. Spring Boot 2 + Angular 10 CRUD Full Stack - Part 5 - Running Angular 10 CRUD App
    Go to Part 1

    Comments