Coder Social home page Coder Social logo

bezkoder / spring-boot-angular-8-crud-example Goto Github PK

View Code? Open in Web Editor NEW
11.0 3.0 10.0 478 KB

Spring Boot + Angular 8: CRUD example - fullstack

JavaScript 6.15% TypeScript 53.56% HTML 18.43% CSS 0.83% Java 21.04%
spring spring-boot springboot spring-data-jpa angular angular8 crud crud-application crud-sample crud-api crud-operation crud-app

spring-boot-angular-8-crud-example's Introduction

Spring Boot + Angular 8: CRUD example

In this tutorial, I will show you how to build a full-stack (Spring Boot + Angular 8) example with a CRUD Application. The back-end server uses Spring Boot, Spring Data for REST APIs, front-end side is an Angular 8 App with HttpClient and Form Module.

The Tutorial Application in that:

  • Tutorial has id, title, description, published status.
  • User can create, retrieve, update, delete Tutorials.
  • There is a search box for finding Tutorials by title.

Add an object:

spring-boot-angular-8-crud-example-create-tutorial

Retrieve all objects:

spring-boot-angular-8-crud-example

Click on Edit button to go to a Tutorial page:

spring-boot-angular-8-crud-example-retrieve-tutorial

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

spring-boot-angular-8-crud-example-update-tutorial

Search Tutorials by title:

spring-boot-angular-8-crud-example-search-tutorial

Angular 8 & Spring Boot CRUD Architecture

This is the application architecture we will build:

spring-boot-angular-8-crud-example-architecture

  • Spring Boot exports REST Apis using Spring Web MVC & interacts with embedded Database using Spring Data JPA.
  • Angular Client sends HTTP Requests and retrieve HTTP Responses using axios, shows data on the components. We also use Angular Router for navigating to pages.

Video

This is our Angular Spring Boot CRUD application demo and brief instruction, running with MySQL database:

Angular Spring Boot CRUD application demo

In the video, we use Angular 10, but it has the same logic & UI as Angular version 8 and H2 database in this tutorial.

Tutorial link: Spring Boot + Angular 8: CRUD example

More Practice:

Angular 8 + Spring Boot + MySQL

Angular 8 + Spring Boot + PostgreSQL

Angular 8 + Spring Boot + MongoDB

Angular 8 + Spring Boot: File Upload example

Security:

Angular 8 + Spring Boot: JWT Authentication & Authorization example

spring-boot-angular-8-crud-example's People

Contributors

tienbku avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.