RealWorld Example App

Getting started

keytool -genkeypair \
-alias apiKey -keyalg RSA \
-keypass "pass1234" -storepass "pass1234" \
-keystore src/main/resources/certs/apiKey.jks \
-dname "CN=realworld, OU=REALWORLD API, O=realworld.com \
L=Seoul, C=KR"

./gradlew bootRun

API Spec

API Test Based on provided postman collection

img.png

학습 하고자 한 것

Spring Security OAuth2 Resource server 를 커스텀하여 Jwt 의 발급과 검증에 Spring 의 BearerTokenAuthenticationFilter 및 Jwt 를 사용하는 법!

Kotlin 에서의 querydsl 세팅