Spring Boot Server & Android Client App Tutorial | Introduction and project setup | Chapter #1

Опубликовано: 16 Февраль 2025
на канале: Genuine Coder
27,006
318

In this tutorial, we will start our new project on creating a Spring boot server that provides REST API for Android client apps. We will be connecting Spring boot to a MySQL database using the "Spring Data JPA" plugin. We will include the "Spring boot Web" dependency into our project so that we can set up an HTTP server and provide REST API for the Android app that we will build.

This is the very first chapter of a 6-chapter tutorial series. In this chapter, you will learn to create a new Spring Boot project. We will be using the "Spring initializr" tool to easily create a new project. Then you will learn how to configure the Spring boot application.properties file so that it can connect to the MySQL database. We will wrap up this chapter after properly connecting the Spring boot server to our database and making sure that the server application is starting correctly. You will also learn how to change the port of the HTTP server easily through the application.properties file.

You can find this project in Github at https://github.com/afsalashyana/Sprin...
Genuine Coder Blog: https://www.genuinecoder.com/

Tags: #Java #SpringBoot

Introduction: (0:00)
Creating new spring boot project: (02:54)
Connecting the spring boot server to MySQL database: (11:31)
Starting the server: (21:27)