Skip to content

Repository files navigation

플레이닷 API

야구 팬들을 위한 승부예측, 채팅 서비스 API

KBO 경기를 크롤링하여 승부예측 및 승리요정이라는 통계를 제공합니다. 팬들을 위해 경기 진행 중, 각 경기별 채팅방에 입장해 소통할 수 있습니다.

기술스택

프로젝트 설정

resources-env/dev/application.yml

server:
servlet:
encoding:
charset: utf-8force: trueport: #Portspring:
profiles:
active:
- proddatasource:
url: #DB Hostdriver-class-name: #DB Driverusername: #DB Usernamepassword: #DB Passwordjpa:
hibernate:
ddl-auto: noneproperties:
hibernate:
default_batch_fetch_size: 100#OAuth2 Configsecurity:
oauth2:
client:
registration:
google:
client-id: #Google Client Idclient-name: googleclient-secret: #Google Client Secretclient-authentication-method: #Google Authentication Methodauthorization-grant-type: #Google Grant Typeredirect-uri: #Google Redirect Uriscope: emailkakao:
client-id: #Kakao Client Idclient-name: kakaoclient-secret: #Kakao Client Secretclient-authentication-method: #Kakao Authentication Methodauthorization-grant-type: #Kakao Grant Typeredirect-uri: #Kakao Redirect Uriscope: account_emailnaver:
client-id: #Naver Client Idclient-name: naverclient-secret: #Naver Client Secretclient-authentication-method: #Naver Authentication Methodauthorization-grant-type: #Naver Grant Typeredirect-uri: #Naver Redirect Uriscope: emailstate: #Naver State Valueprovider:
kakao:
authorization-uri: https://kauth.kakao.com/oauth/authorizetoken-uri: https://kauth.kakao.com/oauth/tokenuser-info-uri: https://kapi.kakao.com/v2/user/meuser-name-attribute: idnaver:
authorization-uri: https://nid.naver.com/oauth2.0/authorizetoken-uri: https://nid.naver.com/oauth2.0/tokenuser-info-uri: https://openapi.naver.com/v1/nid/meuser-name-attribute: responsegoogle:
authorization-uri: https://accounts.google.com/o/oauth2/v2/authtoken-uri: https://oauth2.googleapis.com/tokenuser-info-uri: https://www.googleapis.com/userinfo/v2/me#S3 Configcloud:
aws:
s3:
bucket: #S3 Bucket Namedomain: #S3 Domaincredentials:
access-key: #S3 Access Keysecret-key: #S3 Secret Keyregion:
static: #S3 Region ex)ap-northeast-2auto: falsestack:
auto: falsemy-env:
#JWT Key Configjwt:
key: #JWT Key#KBO Crawling Configchrome-driver:
path: /usr/local/bin/chromedriver/chromedriver

빌드

./gradlew clean build

실행

java -jar ./build/libs/BaseballPrediction-0.0.1-SNAPSHOT.jar

API 명세서

자세한 내용은 위키를 참고해주세요.

About

플레이닷 API

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages