Posts

Showing posts with the label mysql

Build REST CRUD APIs with Spring Boot and MYSQL

Image
Hello everyone, In this article, we will learn how to develop a  REST-style web service with Spring Boot, Spring Data JPA, and MYSQL. GitHub repository link is provided at the end of this tutorial. You can download the source code. Technologies used :  Spring Boot 2.6.3 Spring  Data JPA 2.6.3 Java 11 MYSQL connector  MYSQL Server Maven 3+  These are APIs that Spring backend App will export:   GET all User's        :     /api/v1/users            : get  GET User by ID     :     /api/v1/users/{id}    : get CREATE User        :     /api/v1/users            : post UPDATE User        :     /api/v1/users/{id}    : put DELETE User        :     /api/v1/users/{id}    : delete  Final Project Directory: Create database 'userdb': CREATE DATABASE userdb; Maven[pom.xml]   A Project Object Model or POM is the fundamental unit of work in Maven. It is an XML file that contains information about the project and configuration details utilized by Maven to build the project. It contains default

Go Lang + Angular + Mysql CRUD example - Go Full stack development

Image
Hello everyone, today we will learn how to develop a full-stack web application that is a basic  User Management Application  using Angular, Go, and Mysql. GitHub repository link is provided at the end of this tutorial. You can download the source code. After completing this tutorial what we will build? We will build a full-stack web application that is a basic User Management Application with CRUD features:  • Create User • List All Users  • Update User  • Delete User  • View User  We divided this tutorial into two parts  PART 1 - Rest APIs Development using Go and Mysql  PART 2 - UI development using Angular PART 1 - Rest APIs Development using Go Language These are APIs that the Go Language application will export: GET all User's        :     /users  GET User by ID     :     /users/{_id}  POST User             :     /users  PUT User               :     /users/{_id}  DELETE User       :     /users/{_id} Backend Project Structure: Create database 'userdb': CREATE DATABASE