Angular 8 + Spring Boot CRUD API + Data Table Example

Опубликовано: 11 Октябрь 2024
на канале: Techno Town Techie
56,620
687

In this tutorial, we will learn how to build a full stack Angular 8 + Spring Boot example with a CRUD App with data table. The back-end server uses Spring Boot and Front-end side is made with Angular 8.

Spring Boot GitHub Link: https://github.com/shameed1910/spring...
Angular GitHub Link: https://github.com/shameed1910/angula...
-------------------------------------------------------------------------------------------------------------------------------
Boot strap installation:
npm install jquery --save
npm install ngx-bootstrap bootstrap --save

Add the below lines code to Angular.json file

"styles": [
"src/styles.css",
"node_modules/bootstrap/dist/css/bootstrap.min.css"
],
"scripts": [
"node_modules/jquery/dist/jquery.min.js",
"node_modules/bootstrap/dist/js/bootstrap.min.js"
]
-------------------------------------------------------------------------------------------------------------------------------
Angular Data table setup:

npm install datatables.net --save
npm install datatables.net-dt --save
npm install angular-datatables --save
npm install @types/jquery --save-dev
npm install @types/datatables.net --save-dev

Add the below lines code into Angular.json file

"node_modules/datatables.net-dt/css/jquery.dataTables.css"
"node_modules/datatables.net/js/jquery.dataTables.js"

Add the below lines code into app.modules.ts file
import { DataTablesModule } from 'angular-datatables';

imports: [
DataTablesModule
]

----------------------------------------------------------------------------------------------------
My Top Playlists:
Spring Boot with Angular :    • Spring Boot + Angular  

Spring Boot with Docker & Docker Compose :    • Spring Boot Docker & Docker Compose  

Spring Boot with Kubernetes :    • Spring Boot Docker Kubernetes  

Spring Boot with AWS :    • Spring Boot + AWS  

Spring Boot with Azure :    • Spring Boot Azure  

Spring Data with Redis :    • Spring Data with Redis  

Spring Boot with Apache Kafka :    • Apache kafka  

Spring Boot with Resilience4J :    • SpringBoot Resilience4j