Diber-backend
Diber-backend copied to clipboard
Delivery Service - Spring Boot / Spring Data Jpa / Hibernate / PostgreSQL / OAuth2 Application
http://www.baeldung.com/intro-to-project-lombok https://programmingmitra.blogspot.com.by/2017/01/Project-Lombok-The-Boilerplate-Code-Extractor.html
Enable user after registration only if he enabled account by an email.
Remove errors etc from controllers and move it to services with exception handlers. https://github.com/vlsidlyarevich/unity/blob/master/src/main/java/com/github/vlsidlyarevich/unity/web/exception/handler/PersistanceExceptionHandler.java
http://stackoverflow.com/questions/14437384/enum-field-in-jpa-entity http://devcolibri.com/2647 https://habrahabr.ru/post/77982/
[Useful](http://stackoverflow.com/questions/34845990/spring-use-one-application-properties-for-production-and-another-for-debug).