graphql-java-spring-boot-example icon indicating copy to clipboard operation
graphql-java-spring-boot-example copied to clipboard

Postgres ?

Open JoseRFJuniorLLMs opened this issue 7 years ago • 1 comments

Can this project be used for postgres?

JoseRFJuniorLLMs avatar Jul 05 '18 00:07 JoseRFJuniorLLMs

Of course. This project uses H2, a relational in-memory database, but you only need to configure Spring Boot to work with PostgreSQL (see this https://dzone.com/articles/configuring-spring-boot-for-postgresql, for example). I don't think any modification to the code is needed.

eh3rrera avatar Jul 05 '18 14:07 eh3rrera