An open API service indexing awesome lists of open source software.

https://github.com/d36choi/awssns-springboot

SpringBoot API Server for Amazon SNS publish request using AWS SDK JAVA
https://github.com/d36choi/awssns-springboot

aws-sdk-java-v2 aws-sns awssdk spring-cloud-aws springboot2-x

Last synced: about 2 months ago
JSON representation

SpringBoot API Server for Amazon SNS publish request using AWS SDK JAVA

Awesome Lists containing this project

README

        

# awssns-springboot

aws sdk 를 활용해 스프링부트 API 서버로 amazon SNS 서비스를 사용할 수 있습니다.
spring boot API server for Amazon SNS client request

## features
- create topic
- subscribe
- message publish
- publish message logging with mongodb `localhost:8080/list`
- see topic list and subscription list with thymeleaf `localhost:8080/`

## MUST DO
`resources/application-keys.properties`
```properties
aws.accessKey=
aws.secretKey=
```
application-keys.properties를 생성 의 항목들을 본인의 환경에 맞게 입력해야 합니다.
you should add appropriate key-value in application-keys.properties for yourself.

## API 사용법
```sh
./gradlew build
java -jar build/libs/awssns-0.0.1-SNAPSHOT.jar
```
이 후 localhost:8080/swagger-ui.html 에 접속

## guideline
[[AWS] amazon SNS + Spring Boot 이용한 메시지 서비스 만들기](https://choichumji.tistory.com/123)
[SNS 메시지 리스너](https://github.com/d36choi/awssns-springboot-listener)