GithubHelp home page GithubHelp logo

idkim97 / krampoline-step2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from monokim01/krampoline-step2

0.0 0.0 0.0 369 KB

krampoline-step2

License: MIT License

JavaScript 49.41% CSS 15.63% HTML 28.92% Dockerfile 6.03%

krampoline-step2's Introduction

krampoline-step2

소개

krampoline-step2은 krampoline의 React 예제입니다. 이 저장소에서는 create-react-app를 사용하여 기본적인 React App을 만듭니다. serve를 이용하여 3000번 포트에서 서버를 열고 React 기본 파일을 제공합니다.

쿠버네티스 구성은 다음과 같습니다. image

Ingress에서 Service에게 설정된 랜덤 String으로된 Path로 리다이렉트를 시킵니다. 그렇기 때문에 route나 public폴더의 주소, api 주소 등을 신경써서 작성해 주시기 바랍니다.

필요 사항

  • 기본적인 IDE 사용법 (자세한 내용은 가이드 문서 참조)

주의 사항

  • URL 경로를 잘 설정해주세요. 특히나 public 이나 route 를 다시 한 번 점검해주세요.
    • 해당 예시의 경우 krampoline/.env에 포함된 PUBLIC_URLREACT_APP_PATH가 해당 역활을 합니다.
    • 자신의 클러스터에서 백엔드를 만든 경우 API 사용의 시에는 꼭 URL 경로를 잘 확인해주세요. 예시로 krampoline/src/api.js를 참고하시면 됩니다.
    • 만약 다른 서비스의 API를 사용하려고 하면 카카오의 프록시를 사용해야합니다. 해당 내용은 문의해주세요.
  • Dockerfilek8s 폴더를 프로젝트에 포함시켜주세요.
    • 프로젝트의 루트 (/) 위치에 포함되게 해주세요.
  • k8s/deployment.yamlk8s/ingress.yaml 파일은 필히 확인하시기 바랍니다.
  • main브런치에 작성해주세요.

krampoline-step2's People

Contributors

gitdog01 avatar monokim01 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.