Skip to content

Porting Manual

김경원 edited this page Nov 18, 2021 · 5 revisions

Backend

개발 환경

  • Unity : 2020.3.21f1
    • Minimum API Level : Android 7.0 'Nougat'
    • Target API Level : Automatic
    • Target Architectures : ARM64
  • Java : JavaSE-11
  • SpringBoot
  • JPA : 2.5.3
  • Hibernate : 5.4.32
  • MySQL
  • NGINX : 1.18.0
  • Redis : Linux(6.2.2-alpine)/Windows(3.2.100)
  • Firebase

외부 라이브러리

  • Naver Reverse Geocoding API
  • Firebase Google Auth

Spring 설정

  • application.yml
  • firebase-key.json이 추가로 필요
server: 
        servlet:
                context-path: /api
spring:
  datasource:
    driverClassName: com.mysql.cj.jdbc.Driver
    url: {mysql URL}
    username: {mysql.username}
    password: {mysql.password}

  jpa: 
    database-platform: org.hibernate.dialect.MySQL8Dialect
    properties: 
      hibernate:
        show_sql: true 
     
  cache:
    type: redis
    redis:
      time-to-live: {reids.ttl}
  redis:
    host: 127.0.0.1
    port: {redis.port}
    password: {redis.password}
    
    

firebase: 
  route: {firebase 키 파일}
      
Naver:
  geocode:
    id: {Naver-Geocode-Id}
    key: {Naver-Geocode-key}

springdoc:
  version: 1.0
  api-docs:
    path: /api-docs
  default-consumes-media-type: application/json
  default-produces-media-type: application/json
  swagger-ui:
    operations-sorter: alpha
    tags-sorter: alpha
    path: /swagger
    disable-swagger-default-url: true
    display-query-params-without-oauth2: true
  paths-to-match:
    - /**