eh3rrera / graphql-java-spring-boot-example

Sample GraphQL server implemented with graphql-java and Spring Boot
MIT License
211 stars 151 forks source link

Postgres ? #7

Open JoseRFJuniorLLMs opened 6 years ago

JoseRFJuniorLLMs commented 6 years ago

Can this project be used for postgres?

eh3rrera commented 6 years ago

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.