AWS의 Translate, Comprehend 서비스를 이용하여 번역 및 감정분석 기능을 제공하는 Spring Boot 기반의 API Server
아래 url 참고하여, aws access key와 secret key 발급
https://docs.aws.amazon.com/ko_kr/IAM/latest/UserGuide/id_credentials_access-keys.html
발급한 AccessKey와 SecretKey를 application.yml 혹은 application-local.yml 파일을 만들고 아래 내용 추가
cloud:
aws:
region: ap-southeast-1
credentials-accessKey: yourkey
credentials-secretKey: yourkey
gradle 기반으로 Excutable Jar 생성 후 실행 시 아래 명령어 수행
./gradlew bootJar
java -jar ./build/libs/aws-test-0.0.1-SNAPSHOT.jar
바로 실행 시킬 시 아래 명령어 수행
./gradlew bootRun
실행 후 아래 주소로 접속하여 api 확인 가능
http://localhost:8080/swagger-ui.html
- Spring Boot - The web framework used
- Gradle - Dependency Management
- Lombok - Annotation based plugin what add a code like Getter, Setter, Builder etc
- Kiuk Lee - Initial work - lko0901
This project is licensed under the MIT License - see the LICENSE.md file for details
batch processing