Skip to content

The goal is to practice programming skills and implement a CRUD method within an H2 memory bank.

Notifications You must be signed in to change notification settings

GuiSuttanni/basicoSpringH2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

basicoSpringH2

📑 The goal is to practice programming skills and implement a CRUD method within an H2 memory bank.

O objetivo é construir um pequeno sistema (API REST) de usuários e departamentos, com os seguintes casos de uso:

✅ Buscar todos os usuários

✅ Buscar um usuário pelo seu id

✅ Insira um novo usuário

💻 Configuração do BD H2:

Dados de conexão com o banco H2

spring.datasource.url=jdbc:h2:mem:testdb

spring.datasource.username=sa

spring.datasource.password=

Configuração do cliente web do banco H2

spring.h2.console.enabled=true

spring.h2.console.path=/h2-console

Configuração para mostrar o SQL no console

spring.jpa.show-sql=true

spring.jpa.properties.hibernate.format_sql=true

About

The goal is to practice programming skills and implement a CRUD method within an H2 memory bank.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages