- Springboot2
- Java-8
- Gradle
- Jwt
- JPA
- Postgresql
$> cd src/main/resources
$> mv application.ex.yml ./application.yml
spring:
...
url: jdbc:postgresql://localhost:5432/<DB name>
username: <DB username>
password: <DB password>
...
$> cd <project root>
$> ./gradlew bootRun --console=plain
[Post] sign-up
POST http://localhost:8080/auth/sign-up
content-type: application/json
{
"userEmail": "[email protected]",
"password": "test",
"roleName": "ADMIN"
}
[Get] sign-in
POST http://localhost:8080/auth/sign-in
content-type: application/json
{
"userEmail": "[email protected]",
"password": "test"
}
- jwt init
- uer role table foreign key
- test code
- user CRUD
- redes init
- docker init
- jenkins init