Giter Club home page Giter Club logo

docker-springbootxreact-template's Introduction

@Controller public @ResponseBody User info(@RequestBody User user){}

@ResponseBody

Json 형식으로 http body에 실어 보낸다.

@RequestBody

http request의 body 접근.

@RequestParam('userName') String username

uri의 params에 접근.

@RestController = @Controller + @ResponseBody

@RequestMapping("/")

router와 같이 사용될 수 있다 uri 분기

@GetMapping("/")

@PostMapping("/")

@PutMapping("/")

gradle 프로젝트 루트 경로에서

gradle tasks

build.gradle 플러그인 설정

gradle build 명령어 : 프로젝트 빌드

위의 그래들 빌드 명령을 실행하면 build/libs/ 디렉터리 밑에 jar 파일이 생성된다.

classes : 프로젝트의 컴파일된 .class 파일 reports : 빌드에 의해 생성된 레포트가 존재 (test에 대한 수행 결과) libs : 조립된 프로젝트 라이브러리 파일


의존성 관리

build.gradle 파일


실행

gradle bootRun

docker-springbootxreact-template's People

Contributors

wow-woo avatar

Watchers

James Cloos avatar  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.