Git Product home page Git Product logo

realspr's Introduction

코딩클리닉

Java를 사용하여 Spring Boot 프레임워크로 개발된 웹 애플리케이션


코드 흐름 정리

1.사용자 폼 입력:

  • 회원가입: 아이디와 비밀번호 입력 후 "등록해줘요" 클릭.
  • 정보 조회: ID 입력 후 "조회해줘요" 클릭.
  • 정보 업데이트: ID, 이름, 닉네임, 전화번호 입력 후 "등록해줘요" 클릭.

2.AJAX 요청:

  • create() 함수: POST 요청으로 아이디와 비밀번호 전송.
  • detail() 함수: GET 요청으로 ID 전송.
  • update() 함수: PUT 요청으로 ID, 이름, 닉네임, 전화번호 전송.

3.컨트롤러 메소드 호출:

  • TbuserController.create(): TbuserService.create() 호출.
  • TbuserController.detail(): TbuserService.get() 호출.
  • TbuserController.update(): TbuserService.update() 호출.

4.서비스 메소드 실행:

  • TbuserService.create(): Tbuser 객체 생성 및 저장.
  • TbuserService.get(): Tbuser 객체 조회.
  • TbuserService.update(): Tbuser 객체 업데이트 및 저장.

5.데이터베이스 연동:

  • TbuserRepository.save(): Tbuser 객체 저장.
  • TbuserRepository.findById(): Tbuser 객체 조회.

6.응답 처리:

  • 클라이언트는 응답을 받아 결과를 사용자에게 표시.

realspr's People

Contributors

leemineo avatar

Watchers

 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.