Coder Social home page Coder Social logo

liketrello's People

Contributors

simongs avatar

Watchers

 avatar  avatar

liketrello's Issues

프론트엔드와 백엔드 연결하기

페이지 273 (8 어플리케이션 뼈대 만들기)

maven 빌드 과정에서 front-end 빌드 추가하기
maven 테스트 과정에서 test:e2e 테스트 추가하기

프론트엔드와 백엔드 의 통신
방법1. 프론트엔드는 3000번포트, 백엔드는 8888 번 포트를 쓴다.

  • 문제는 크로스오리진 정책으로 인해 기본적으로 브라우져에서 막히게 된다.
  • 이를 해결하려면 응답 헤더에 Access-Control-Allow-Origin 을 추가해야 한다.

방법2. 프론트엔드에 proxy를 추가하여 proxy가 백엔드로 요청을 전달하는 방법이다.

  • 브라우저 입장에서는 모든 요청이 같은 origin에서 온다.

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.