Coder Social home page Coder Social logo

dalalsunil1986 / spring-boot-angular-11-mysql Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bezkoder/spring-boot-angular-11-mysql

0.0 0.0 0.0 264 KB

Spring Boot + Angular 11 CRUD example with MySQL Database

JavaScript 6.56% TypeScript 56.33% HTML 15.74% CSS 0.81% Java 20.56%

spring-boot-angular-11-mysql's Introduction

Spring Boot + Angular 11 CRUD example with MySQL Database

For more details, please visit: https://bezkoder.com/angular-11-spring-boot-crud/

In this tutorial, we will learn how to build a full stack Angular 11 + Spring Boot 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 MySQL 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:

spring-boot-angular-11-crud-example-add-tutorial

Retrieve all objects:

spring-boot-angular-11-crud-example-retrieve-all-tutorial

Click on Edit button to go to a Tutorial page:

spring-boot-angular-11-crud-example-retrieve-one-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-11-crud-example-update-tutorial

Search Tutorials by title:

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

Angular 11 & Spring Boot CRUD Architecture

This is the application architecture we will build:

spring-boot-angular-11-crud-example-architecture

  • Spring Boot exports REST Apis using Spring Web MVC & interacts with MySQL 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 11 in this tutorial.

More Practice

You will want to know how to run both projects in one place:

How to Integrate Angular with Spring Boot Rest API

Server side Pagination:

Pagination with Angular + Spring Boot example

Security:

Angular 11 + Spring Boot: JWT Authentication & Authorization example

Serverless with Firebase:

Angular 11 Firebase CRUD Realtime DB | AngularFireDatabase

Angular 11 Firestore CRUD example | AngularFireStore

spring-boot-angular-11-mysql's People

Contributors

tienbku 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.