📘 Premium Read: Access my best content on Medium member-only articles — deep dives into Java, Spring Boot, Microservices, backend architecture, interview preparation, career advice, and industry-standard best practices.
✅ Some premium posts are free to read — no account needed. Follow me on Medium to stay updated and support my writing.
🎓 Top 10 Udemy Courses (Huge Discount): Explore My Udemy Courses — Learn through real-time, project-based development.
▶️ Subscribe to My YouTube Channel (172K+ subscribers): Java Guides on YouTube
You will develop your first FULL STACK application with Angular 9 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.
What’s New In Angular 9?
Read more about Angular Ivy at https://angular.io/guide/ivy.
Simply put: upgrading to Angular 9 will make your web apps faster!
Other notable features in Angular 9 include:
- Enhancements to Angular CLI to support internationalization (i18n)
- Type-safe improvements to TestBed for unit testing.
Free Course on YouTube - Angular + Spring Boot CRUD Full Stack Application
Spring Boot + Angular 9 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 9 CRUD Tutorial - Part 1 - Develop Spring Boot CRUD Rest APIs
- create employee
- list employee
- delete employee
- update employee
- get employee by id
- Install the latest version of Angular CLI
- Create Angular 9 client application using Angular CLI
- Identify Components, Services, and Modules
- Create Service & Components using Angular CLI
- Integrate JQuery and Bootstrap with Angular
- 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
- 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
- Running Angular 9 Client Application
- Demo
Spring Boot Angular 9 CRUD App Architecture
Features Implementation
- Create an Employee
- Update an Employee
- List of Employees
- Delete Employee
- View Employee
What we will build?
- 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.
- angular9-springboot-client: This project is used to develop single page application using Angular 9 as front-end technology. This Angular 9 application consumes CRUD Restful APIs developed and exposed by a springboot2-jpa-crud-example project.
Update Employee Page
View Employee Details Page
Delete Employee
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 9
- 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
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 the below links to visit different parts of this tutorial:
- Spring Boot + Angular 9 CRUD Example Tutorial - Main Tutorial
- Spring Boot + Angular 9 CRUD Tutorial - Part 1 - Develop Spring Boot CRUD Rest APIs
- Spring Boot + Angular 9 CRUD - Part 2 - Create an Angular 9 App
- Spring Boot + Angular 9 CRUD - Part 3 - Develop Angular 9 CRUD Operations
- Spring Boot + Angular 9 CRUD, Part 4 - Angular 9 CRUD App Configuration
- Spring Boot 2 + Angular 9 CRUD, Part 5 - Running Angular 9 CRUD App
Very useful tutorial with great explanation.
ReplyDeletecould you please implement login module from angular to spring boot rest (as user will send login credentials from angular as a frontend and validate against stored data in database i.e. mysql of spring rest)
ReplyDelete