Template with Spring boot, JdbcTemplate and PrimeFaces.
You need to install postgres and setup it in application.properties. User class is a data model. Setup yours if needed. JdbcTemplate uses query. Use yours data model.
Clone project. Open in IDEA. Start with maven-plugin spring-boot:run. Open localhost:8080 ... PROFIT!1