https://github.com/deptno/abandoned-animals
https://github.com/deptno/abandoned-animals
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/deptno/abandoned-animals
- Owner: deptno
- Created: 2019-12-28T19:17:28.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-12-11T08:43:57.000Z (almost 5 years ago)
- Last Synced: 2025-04-15T09:18:57.864Z (6 months ago)
- Language: TypeScript
- Homepage: https://deptno.github.io/abandoned-animals
- Size: 555 KB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.backend.md
Awesome Lists containing this project
README
# 유기동물조회






## 흐름
```text
┌──────┐ ┌──────────┐ ┌──┐ ┌───┐
│λ_cron│ │data.go.kr│ │s3│ │ddb│
└──┬───┘ └────┬─────┘ └┬─┘ └─┬─┘
│ 24/day │ │ │
│ <─────────────────> │ │
│ │ │ │
│ │ │ │
│ ────────────────────────────────────> │
│ │ │ │
│ │ │ ttl: month │
│ │ │ ────────────>│
┌──┴───┐ ┌────┴─────┐ ┌┴─┐ ┌─┴─┐
│λ_cron│ │data.go.kr│ │s3│ │ddb│
└──────┘ └──────────┘ └──┘ └───┘
```- `ddb`: **검색 요구사항** 이 먼저 나온 후 결정
수정
문법
planttext.com```puml
@startumlλ_cron <-> data.go.kr: 24/day
λ_cron -> s3
s3 -> ddb: ttl: month@enduml
```## 환경
### 개발
`yarn` **@필수**
```shell script
yarn add -D -W 개발디펜던시
yarn workspace @deptno/{패키지명} add 디펜던시 # 패키지명 예. aa_frontend
```
### 로컬 개발 환경
```shell script
yarn graphql # 백엔드
yarn next # 프론트엔드
```
### 파일명 컨벤션
카멜 케이스(camelCase)
### aws
```shell script
$ aws configure --profile aaAWS Access Key ID [None]: ********************
AWS Secret Access Key [None]: ****************************************
Default region name [None]: ap-northeast-2
Default output format [None]: json
```## 테스트
[플레이그라운드](https://wlfoc30xcj.execute-api.ap-northeast-2.amazonaws.com/dev/graphql)⚠️ 접속 후 URL 패스에 `dev` 가 빠져있는데 이를 추가해야 하므로 아래 주소를 붙여 넣는다.
`https://wlfoc30xcj.execute-api.ap-northeast-2.amazonaws.com/dev/graphql`
## Query
- [x] `aa`, 로우레벨 데이터 접근## 데이터 소스
https://www.data.go.kr/dataset/15001096/openapi.do