Skip to content

Instantly share code, notes, and snippets.

@lusabo
Last active May 1, 2018 19:17
Show Gist options
  • Save lusabo/fcd09d3695f141bb3dfc503fba32aa56 to your computer and use it in GitHub Desktop.
Save lusabo/fcd09d3695f141bb3dfc503fba32aa56 to your computer and use it in GitHub Desktop.
application.properties
# Configurando conexão com o MySQL
spring.jpa.hibernate.ddl-auto=none
spring.datasource.url=jdbc:mysql://localhost:3306/eco
spring.datasource.username=root
spring.datasource.password=root
# Configurando o JWT
jwt.header=Authorization
jwt.secret=1us@b0
jwt.expiration=604800
jwt.route.authentication.path=/auth
# Configurando o contexto
server.servlet.context-path=/api
# Configurando o Jackson
spring.jackson.default-property-inclusion=non-null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment