g-market / b-shop-backend

0 stars 0 forks source link

가비아 B-Shop 쇼핑몰

pipeline status coverage report

page

개발 진행 과정 (WIKI)


개발 환경


프로젝트 세팅

  1. MySQL, redis 컨테이너 실행

    docker-compose up -d
  2. .env 파일 생성

    //.env
    DB_NAME=<DB_NAME>
    DB_PASSWORD=<PASSWORD>
    REDIS_PORT=<REDIS_PORT>
    DB_PORT=<DB_PORT>
  3. 환경변수 세팅

    ACCESS_EXPIRED_TIME=3600000;
    ACCESS_TOKEN_URL=<ACCESS_TOKEN_URL>;
    ACTIVE_PROFILE=<ACTIVE_PROFILE>;
    CLIENT_ID=<CLIENT_ID>;
    CLIENT_SECRET=<CLIENT_SECRET>;
    DB_PASSWORD=<DB_PASSWORD>;
    DB_URL=jdbc:mysql://localhost:<DB_PORT>/<DB_NAME>;
    DB_USERNAME=<DB_USERNAME>;
    DDL_AUTO=<DDL_AUTO>;
    FETCH_SIZE=<FETCH_SIZE>;
    LOG_LEVEL=<LOG_LEVEL>;
    REDIS_HOST=<REDIS_HOST>;
    REDIS_PORT=<REDIS_PORT>;
    REDIS_PASSWORD=<REDIS_PASSWORD>;
    REFRESH_EXPIRED_TIME=<REFRESH_EXPIRED_TIME>;
    SERVER_PORT=<SERVER_PORT>;
    TOKEN_SECRET=<TOKEN_SECRET>;
    USER_URL=<USER_URL>

역할 분담

설계문서