Skip to content

카카오 i 클라우드 핸즈온 가이드에 제공되는 React 샘플 코드

License

Notifications You must be signed in to change notification settings

kakaoenterprise/kic-library-react

Repository files navigation

kakaoenterprise-library-react

kakao i cloud hands-on example project.
The react version of [library-monolithic].

Quick Start (Local)

  1. Run Backend Application
    1. Build
      # move to working directory ex) */library-react
      $ ./gradlew build
    2. Execute
      java -jar -Dspring.profiles.active=local \
      ./build/libs/library-react-SNAPSHOT.jar
  2. Run React Application
    cd ./client
    npm install
    npm start

Deployment

Environment

os: ubuntu 20.04
java-version: 11
node-version: 18.13

install requirements

cd ${PROJECT_DIR}
bash install-requirements.sh

Backend

  1. Edit app-env.sh
    # move to working directory ex) */library-react
    $ vi app-env.sh
    # ...
    # port MYSQL_HOST='172.16.227.224'
    # port DB_USERNAME='admin'
    # port DB_PASSWORD='root1234'
  2. Build/Run application
    bash app-build.sh
    bash start-app.sh

Frontend

  1. Edit web-env.sh
    cd ./client
    vi ./web-env.sh
    # export APP_ENDPOINT="http://localhost:8080" <- Backend Application's endpoint
    # ...
  2. Build
    bash web-build.sh
  3. Deploy with web-server(Nginx)
    bash start-web.sh

About

카카오 i 클라우드 핸즈온 가이드에 제공되는 React 샘플 코드

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •