참고 자료

API 명세서

GET, POST, PUT, DELETE, PATCH 등

멱등성 soft delete(is_deleted), hard delete

주소 : localhost:8080/api/v1/어떤API인지

ex) localhost:8000/api/v1/products GET

ex) 회원가입을 위해서 정보입력 POST, 회원가입을 하는 API GET

⚒️ System Architecture

⚙️ ERD

image.png

테이블 정리

application.yml

spring:
  application:
    name: easycheck
  mail:
    host: smtp.gmail.com
    port: 587
    username: yonginfren
    password: siffdmjbqdwgstvy
    properties:
      mail:
        smtp:
          auth: true
          starttls:
            enable: true
  batch:
    jdbc:
      initialize-schema: always

application-dev.yml

spring:
  application:
    name: easycheck
  datasource:
    url: jdbc:mariadb://cloudyong.shop:10010/easystay
    driver-class-name: org.mariadb.jdbc.Driver
    username: easycheck
    password: easystay
  jpa:
    hibernate:
      ddl-auto: update
      naming:
        physical-strategy: org.hibernate.boot.model.naming.CamelCaseToUnderscoresNamingStrategy
    show-sql: true
  data:
    redis:
      host: cloudyong.shop
      port: 10011
      username: easycheck
      password: easystay
  mail:
    host: smtp.gmail.com
    port: 587
    username: yonginfren
    password: siffdmjbqdwgstvy
    properties:
      mail:
        smtp:
          auth: true
          starttls:
            enable: true
  batch:
    job:
      enabled: true
logging:
  level:
    #    org.hibernate: DEBUG
    #    org.hibernate.type.descriptor.sql: TRACE
    org.springframework.data.*.*: trace
    io.lettuce.core: TRACE

#    -com.beyond.easycheck.roomType.infrastructure.persistence.repository: DEBUG
jwt:
  secret: 97fb9f4d46354d8a57dca37e631c917ceb68b6752a593875816ef029b75cd77654d62d7449e54431a05ae1c113388e60b2004072aa8d7ac47c4276647193068a
  # 3 hours
  #  access-token-exp-time: 10800000
  access-token-exp-ti me: 2592000000
  # a day
  refresh-token-exp-time: 2592000000
mail:
  sender: [email protected]

coolsms:
  easycheck:
    apikey: NCSIDBCQKYQVVDE0
    apisecret: 6DS9T40QULXHTGMASMY8QSML0CSE2YJF
    representative-number: "010-4765-4722"
aws:
  accessKey: AKIAQKGGXJJC3LAYG3PJ
  secretKey: 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
  s3:
    region: us-east-1
    bucket: beyond-easycheck

portone:
  api-key: 1245651665878623
  api-secret: ELYLrl9qlnxBwumJIjKmxd3I8vBGwtMhf1BIOygoSXiJI1DpBWdQohwpAgO1m08bBMXZSuluPiFU6OkH