Posts

Showing posts with the label Google Cloud SQL for MySQL

Google Cloud SQL for MySQL + Spring Data JPA + Spring Boot - Build REST CRUD APIs

Image
In this section, we will learn  how to build REST CRUD APIs with Spring Boot, Spring Data JPA, and Google Cloud SQL for MySQL. 1.  A little bit of Background Spring Data JPA Spring Data JPA aims to significantly improve the implementation of data access layers by reducing the effort to the amount that’s actually needed. As a developer you write your repository interfaces, including custom finder methods, and Spring will provide the implementation automatically. More Info - click here! Google Cloud SQL for MySQL Cloud SQL for MySQL is a fully managed database service that helps you set up, maintain, manage, and administer your MySQL relational databases on Google Cloud Platform. More Info - click here! Spring Boot Spring Boot makes it easy to create stand-alone, production-grade Spring-based Applications that you can "just run".  More Info - click here! 2. Create a GCP Project First, Sign into the Google console at  https://console.cloud.google.com . You can create a new proje