Spring Boot Crud application made using Thymeleaf, Spring MVC.
This project is based on the Spring Boot and used the following technologies:
- Spring Boot
- Spring MVC
- Spring Data Jpa
- MySql Database
- Thymeleaf for template engine
- Maven
- JavaScrip
- Clone the application:
$ git clone https://github.com/MatheusRGuedes/spring-boot-company.git
- Database Configuration This project uses the MySql database, so follow these steps:
- Open the application.properties file in the src/main/resources/ directory;
- If you run the application locally, change
spring.datasource.username
andspring.datasource.password
according to what you defined on the MySql installation; - Insert scripts for the tables are in the data folder.
- Run Maven is used for project management and to run the application locally, use the commands:
mvn clean install
mvn spring-boot: run or java -jar demo-mvc-0.0.1-SNAPSHOT.jar
The commands above will generate the package, install the dependences and execute the application on 8080 default port. The application runs from http://localhost:8080/.