- postgres 14
- 한국어 형태소 분석기: https://github.com/i0seph/textsearch_ko
- Aws S3 or S3 protocol service
- keycloak
$ yarn install# development
$ yarn run start
# watch mode
$ yarn run start:dev
# production mode
$ yarn run start:prod# unit tests
$ yarn run test
# e2e tests
$ yarn run test:e2e
# test coverage
$ yarn run test:covcopy to src/configure/config.yml(devleop or standalon) or /app/configure/config.yml (use docker) from config.sample.yml
app:
port: 3001port(optional, default: 3001 ): litens port
db:
allowSync: false
initKorDic: false
config:
dialect: postgres
dialectOptions:
autoJsonMap: false
database: raviluz
username: postgres
password: postgres
host: postgres
port: 5432-
allowSync(optional, default: false): db 동기화 사용 여부 -
initKorDic(optional, default: false): 한국어 형태소 관련 쿼리 실행 여부(최초 1회 필요) -
config:
SequelizeOptions타입에 관한 부분입니다.관련 문서:
Postgres 이외의
aws:
signatureVersion: v4
region: ap-northeast-2
bucketName: dev
s3Endpoint: http://minio:9000
accessKeyId: access key
secretAccessKey: secret keysignatureVersion(optional) : aws api version.region(required): : aws regionbucketName(required): 이미지 리소스 저장 버킷s3Endpoint(optional): AWS가 아닌 셀프 호스트 서비스를 사용할 때 필요. (예, minio )accessKeyId: aws accessKeyIdsecretAccessKey: aws secretAccessKey
keycloak:
authServerUrl: http://keycloak:8080/auth
realm: raviluz
clientId: admin-api
secret: 318ce042-8f42-42f1-965c-88f3c48c0e7d
KeycloakConnectOptions타입에 관한 부분입니다.관련 문서:
authServerUrl(required) : keycloak addressrealm(required) : realm nameclientId(required): client idsecret(required): client secret