Skip to content

Latest commit

 

History

History
48 lines (24 loc) · 1.55 KB

README.md

File metadata and controls

48 lines (24 loc) · 1.55 KB

thymeleaf-spring-boot-ajax

Projeto de Exemplo de Thymleaf / Spring Boot / Ajax / Internacionalização Básica

Esse projeto foi copiado e adaptado do link: http://xpadro.blogspot.com.br/2014/02/thymeleaf-integration-with-spring-part-2.html?spref=fb

Todo o crédito pertence ao Xpadro (https://github.com/xpadro/)

Pelo projeto: https://github.com/xpadro/thymeleaf

Eu apenas atualizei o projeto para Spring Boot / JPA -> Mysql

Para funcionar basta trocar:

spring.jpa.hibernate.ddl-auto=update ##create

ou criar o banco de dados no mysql: thymeleafspring

create database thymeleafspring;

Graças ao Spring, essa migração foi muito tranquila!!

O exemplo funciona perfeitamente, consigo adiconar e pesquisa o convidado pelo sobrenome, se deixar em branco busco todos.

Melhorias podem ser feitas, mas até aqui me serviu para os projetos que estou trabalhando.

Thank You Very Much Xavier Padro!

#ENGLISH VERSION

Thymleaf / Spring Boot / Ajax Sample Project

This project has been copied and adapted from: http://xpadro.blogspot.com.br/2014/02/thymeleaf-integration-with-spring-part-2.html?spref=fb

All credit belongs to Xpadro (https://github.com/xpadro/)

By project: https://github.com/xpadro/thymeleaf

I just upgraded the project to Spring Boot / JPA -> Mysql

Thanks to Spring, this migration was very peaceful !!

The example works perfectly, I can add and search the guest by the surname, if I leave blank I search all.

Improvements can be made, but so far I have served the projects I am working on.

Thank You Very Much Xavier Padro!