### Build Spring Boot Project using Maven Source: https://github.com/rameshmf/springboot-blog-rest-api/blob/main/Run.md These commands compile the project, run tests, and package the application into a deployable artifact. One uses a globally installed Maven, while the other uses the project's Maven Wrapper script. ```Shell mvn clean package ``` ```Shell ./mvnw clean package ``` -------------------------------- ### Run Spring Boot Application Source: https://github.com/rameshmf/springboot-blog-rest-api/blob/main/Run.md This Maven command starts the Spring Boot application. Hibernate will automatically create the necessary database tables upon execution if not already present. ```Shell mvn spring-boot:run ``` -------------------------------- ### Create MySQL Database for Spring Boot Blog Source: https://github.com/rameshmf/springboot-blog-rest-api/blob/main/Run.md This SQL command creates a new database named 'myblog' in MySQL, which is required by the Spring Boot application to store its data. ```SQL create database myblog ``` -------------------------------- ### Insert Initial Roles Data into MySQL Source: https://github.com/rameshmf/springboot-blog-rest-api/blob/main/Run.md This SQL statement inserts two default roles, 'ROLE_ADMIN' and 'ROLE_USER', into the 'roles' table within the 'myblog' database. These roles are essential for user authentication and authorization. ```SQL INSERT INTO `myblog.roles` VALUES (1,'ROLE_ADMIN'),(2,'ROLE_USER'); ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.