Giter VIP home page Giter VIP logo

fitqa-core's Introduction

FitQA-Core

SpringBoot기반으로 만들어진 FitQA 서비스의 기본적인 기능을 수행하는 서비스입니다. 다음과 같은 도메인을 포함하고 있습니다.

  • 유저 : 소셜 로그인, 유저 CRUD
  • 트레이너 : 경력, 학력 등의 트레이너 프로필, 피드백 가격 차등 설정, 트레이너 CRUD
  • 피드백 : 유저가 트레이너에게 피드백 요청, 피드백 답변, 피드백 동영상 처리

How to build

Variables

빌드를 수행하기 위해서 아래와 같은 작업이 필요합니다. 아래 방법 중 하나를 골라 수행하면 됩니다.

Database 설정

  • 파일로 설정하기
  1. spring/fitqa-spring-java/src/main/resources 안에 database.properties 파일을 만듭니다.
  2. 파일 안에 데이터베이스 정보를 입력합니다.
    입력예시
JDBC_DATABASE_URL=jdbc:postgresql://<db_url>:<port>/<db_name>
JDBC_DATABASE_USERNAME=<username>
JDBC_DATABASE_PASSWORD=<password>
  • 실행 시 Env로 추가하기
  1. gradlew bootRun -Pargs=--JDBC_DATABASE_URL=jdbc:postgresql://<db_url>:<port>/<db_name>,--JDBC_DATABASE_USERNAME=<username>,--JDBC_DATABASE_PASSWORD=<password> gradlew bootRun 뒤에 -Pargs 안에 데이터베이스 정보를 추가합니다

Secret Key 설정

  • 파일로 설정하기
  1. spring/fitqa-spring-java/src/main/resources 안에 secrets.properties 파일을 만듭니다.
  2. 파일 안에 SecretKey 정보를 입력합니다.
    입력예시
GOOGLE_CLIENT_ID=<google_client_id>
GOOGLE_CLIENT_SECRET=<google_client_secret>

KAKAO_CLIENT_ID=<kakao_client_id>
KAKAO_CLIENT_SECRET=<kakao_client_secret>
KAAKO_REDIRECT_URL=<kakao_redirect_url>

NAVER_CLIENT_ID=<naver_client_id>
NAVER_CLIENT_SECRET=<naver_client_id>
NAVER_REDIRECT_URL=<naver_redirect_url>
  • 실행 시 Env로 추가하기
  1. gradlew bootRun 뒤에 -Pargs 안에 데이터베이스 정보를 추가합니다

Tech/framework used

  • Clean Architecture
  • Spring Boot
  • OAuth2
  • AWS SQS

fitqa-core's People

Contributors

ho2eny avatar olion500 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.