For more details, please visit: https://bezkoder.com/angular-11-spring-boot-mongodb/
In this tutorial, we will learn how to build a full stack Spring Boot + MongoDB + Angular 11 example with a CRUD App. The back-end server uses Spring Boot with Spring Web MVC for REST Controller and Spring Data JPA for interacting with MongoDB database. Front-end side is made with Angular 11, HTTPClient & Router.
We will build a full-stack Tutorial Application in that:
- Each Tutorial has id, title, description, published status.
- We can create, retrieve, update, delete Tutorials.
- We can also find Tutorials by title.
- The images below shows screenshots of our System.
Add an object:
Retrieve all objects:
Click on Edit button to go to a Tutorial page:
On this Page, you can:
- change status to Published using Publish button
- delete the Tutorial using Delete button
- update the Tutorial details with Update button
Search Tutorials by title:
This is the application architecture we will build:
- Spring Boot exports REST Apis using Spring Web MVC & interacts with MongoDB Database using Spring Data MongoDB.
- Angular 111 Client sends HTTP Requests and retrieve HTTP Responses using axios, shows data on the components. We also use Angular Router for navigating to pages.
You will want to know how to run both projects in one place:
Server side Pagination:
Security:
Angular 11 + Spring Boot: JWT Authentication & Authorization example
Serverless with Firebase: