This repository is "Spring boot" sample code.
For the purpose of learning "Spring Boot", I studied the login functions required for all sites.
- Java 11
- Spring Boot 2.2.6
- Spring Security
- Hibernate
- Querydsl
- H2 database
- Thymeleaf
- Modelmapper
- JUnit
- PowerMockito
- Lombok
- Sign up
- Sign in
- Sign out
- Email verification
- Resend email
- Change email
cd src/main/resources
npm installnext commit: npm auto-install
H2 is an in-memory database, so it does not support the remote connection as a default option.
The "local_H2" directory contains files that support remote connections.
See the team blog "dico.me" for more details.
Link: Remote connection for H2 Database
Notice: Run to Appication for EmbeddedH2Config.
HOST: localhost
PORT: 9092
USER: sa
PASSWORD: <EMPTY>
DATABASE: ./local_H2/testdb
URL: jdbc:h2:tcp://localhost:9092/./local_H2/testdb
server:
mail:
host: #SMTP_HOST
port: #SMTP_PORT
username: #ID
password: #PASSWORD
properties:
mail:
smtp:
auth: false
timeout: 50000
starttls:
enable: true
app:
host: http://localhost:8082
title: Devellany's sample
version: ver.prototype
help-email: #MAIL_SENDER_ADDRESS
token-available-period: 60
- Web application development with Spring and JPA, Keesun Baik Link
- Spring data JPA, Keesun Baik Link
- Spring boot concept and use, Keesun Baik Link
- Java ORM standard JPA programming, Younghan Kim Link
- Reference documents
- StackOverflow
MIT License.
