Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Simple Spring Boot application using MySQL, ready to run on Azure.

Notifications You must be signed in to change notification settings

Azure-Samples/mysql-spring-boot-todo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample To Do List web application using Spring Boot and MySQL

A simple Todo list application using Spring Boot with the following options:

  • Spring JPA and MySQL for data persistence
  • Thymeleaf templae for the rendering.

To build and run the sample from a fresh clone of this repo:

Configure MySQL

  1. Create a database in your MySQL instance.
  2. Update the application.properties file in the src/main/resources folder with the URL, username and password for your MySQL instance. The table schema for the Todo objects will be created for you in the database.

Build and run the sample

  1. mvnw package
  2. java -jar target/TodoDemo-0.0.1-SNAPSHOT.jar
  3. Open a web browser to http://localhost:8080

As you add and update tasks in the app you can verify the changes in the database through the MySQL console using simple statements like select * from todo_item.

About

Simple Spring Boot application using MySQL, ready to run on Azure.

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published