Posts

Showing posts with the label Build REST CRUD APIs with Spring Boot

Spring Boot 3 Astra DB CRUD Example

Image
In this section,  we will learn how to build REST CRUD APIs with Spring Boot , and Astra DB . Astra DB DataStax Astra DB is a cloud-native, scalable Database-as-a-Service built on Apache Cassandra . Create a Database First, Sign into the datastax at https://astra.datastax.com . Then click on the "Databases" button. You will be taken to a page like the below image, then click on the " Create Database " button. Then enter Database name , Provider , and, Region , then click on the " Create Database " button. Now, You can see "Your database is initializing..." like the below image. You will be taken to a page like the below image. Copy " Database ID " and " region name " and keep them for future purposes. Generate Application Token Mocking Then click on " Tokens " button. You will be taken to a page like the below image, Then select role, for demo purpose here we selected role " Administrator User ". Then clic

Spring Data JDBC + Azure Database for MySQL - Build REST CRUD APIs

Image
In this section, we will learn how to build REST CRUD APIs with  Spring Boot ,  Spring Data JDBC  and  Microsoft  Azure Database for MySQL. A little bit of Background Azure Database for MySQL Single Server Azure Database for MySQL Single Server is a fully managed database service designed for minimal customization. The single server platform is designed to handle most of the database management functions such as patching, backups, high availability, and security with minimal user configuration and control. The architecture is optimised for built-in high availability with 99.99% availability in a single availability zone. It supports the community version of MySQL 5.6 (retired), 5.7 and 8.0. The service is generally available today in a wide variety of  Azure regions . More Info -  Overview - Azure Database for MySQL Single Server | Microsoft Learn Spring Boot Spring Boot makes it easy to create stand-alone, production-grade Spring-based Applications that you can "just run".