Posts

Showing posts with the label MySQL

PHP MySQL REST API CRUD Tutorial

Image
PHP MySQL REST API CRUD Tutorial Introduction         I was looking for a simple Full Stack PHP CRUD REST API Tutorial online, but there was not one tutorial which had both the UI and the REST APIs together. In most of the tutorials either the UI only is explained or else the REST APIs are explained without the UI. Hence I decided to come up with a simple post on this which can be used as a base to build your own full stack PHP app.         In this post, we will build an Employee Dashboard App which can be used to view, create, update and delete Employee Data. We will be building the corresponding CRUD APIs.  PHP         PHP (Hypertext Preprocessor), originally stood for “Personal Home Page” and is a scripting language used for web development. Advantages of PHP include: State: Each and every web request starts from a completely blank slate. Concur...

Golang CRUD REST API MySQL Tutorial

Image
Introduction         I was searching online for a complete tutorial on Golang CRUD REST API integration with MySQL database with all the CRUD operations and I found many confusing posts. Some post did not have all the CRUD operations, some gave complicated approaches and some had other general code issues. Hence I have come up with this post to give you a comprehensive overview of all the CRUD operations. Please feel free to use my application as a base to build your own application. Golang         Go or Golang, as it is called, from their website , is an open source programming language that makes it easy to build simple, reliable, and efficient software. It is gaining popularity due to the following features: Fast: Golang is a compiled language, the code written is directly translated into formats that any processor understands.  Lightweight and minimalist language...

Spring Boot MySQL Docker Compose Example

Image
 Spring Boot MySQL Docker Compose Example Introduction         I was looking online for a simple example/tutorial on how to dockerize my existing Spring Boot and MySQL Database Microsevice using Docker Compose/Docker. Most of the tutorials have complicated examples/complex steps explained. Hence I have come up with this post to explain about Docker Compose and its usage in simple steps.          In this tutorial we will be dockerizing an existing SpringBoot fat jar with database related configurations along with MySQL database, building it and running the microservice.         To learn about Docker, simple Docker commands, Dockerfile, dockerizing a simple application and Docker Hub, please read my blog post:  Dropwizard Docker Example . Docker Compose         Compose is a tool for defining and running multi-container Docker applicatio...