일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
- 자바스크립트기초
- CSS
- 처음만나는자바스크립트
- 웹
- javaspring
- springboot
- Javascript
- 전자정부 서버세팅
- 리액트세팅
- 자바스크립트 기초
- 자바
- HTML
- 자바스크립트기초문법
- react
- 기초코딩
- 구글캘린더api
- java
- Spring Boot
- 자바스크립트
- mybatis
- spring
- 스프링부트
- js
- 웹앱
- 구글 oauth
- 리액트초기세팅
- 기초 코딩
- 코딩
- 리액트프로젝트세팅
- 마이바티스
- Today
- Total
인생 디벨로퍼
[Bank App] 뱅크 프로젝트 정리 본문
https://steponecoding.tistory.com/31
[Bank App] 1강 초기 세팅
프로젝트 생성 build.gradle dependencies { implementation 'javax.servlet:jstl' implementation 'org.apache.tomcat.embed:tomcat-embed-jasper' } application.yml server: port: 8080 servlet: encoding: charset: utf-8 force: true spring: mvc: view: prefix: /
steponecoding.tistory.com
https://steponecoding.tistory.com/32
[Bank App] 2강 모델링
2강 모델링 (1) DB 모델링 table.sql CREATE TABLE user_tb( id int auto_increment primary key, username varchar unique not null, password varchar not null, fullname varchar not null, created_at timestamp not null ); CREATE TABLE account_tb( id int auto
steponecoding.tistory.com
https://steponecoding.tistory.com/33
[Bank App] 3강 화면 구현
부트스트랩을 이용한 간단한 화면 구현. 회원가입 회원가입페이지 ID PASSWORD Full-Name 회원가입 로그인 로그인페이지 ID PASSWORD 로그인 메인페이지 메인페이지 계좌번호 잔액 1111 1000원 ATM 출금 ATM
steponecoding.tistory.com
https://steponecoding.tistory.com/34
[Bank App] 4강 JSP 파일 세팅
package shop.mtcoding.bankapp.controller; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.GetMapping; @Controller public class AccountController { @GetMapping({ "/", "/account" }) public String main() { retu
steponecoding.tistory.com
https://steponecoding.tistory.com/35
[Bank App] 5강 익셉션 핸들러 만들기
커스텀 익셉션 package shop.mtcoding.bankapp.handler.ex; import org.springframework.http.HttpStatus; import lombok.Getter; @Getter public class CustomException extends RuntimeException { private HttpStatus status; public CustomException(String message
steponecoding.tistory.com
https://steponecoding.tistory.com/36
[Bank App] 6강 회원가입 만들기
DTO 생성 package shop.mtcoding.bankapp.dto.user; import lombok.Getter; import lombok.Setter; @Getter @Setter public class JoinReqDto { private String username; private String password; private String fullname; } Controller @PostMapping("join") public Str
steponecoding.tistory.com
https://steponecoding.tistory.com/37
[Bank App] 7강 로그인 만들기
form 태그 정리 POST (BODY) key=value&key=value (x-www) GET (URL) ?key=value&key=value (QueryString) Get 요청과 Post 요청 모두 x-www-form-urlencoded 타입으로 데이터가 전달되지만 Get요청을 하게되면 주소에 데이터가 실려
steponecoding.tistory.com
https://steponecoding.tistory.com/38
[Bank App] 8강 계좌생성하기
Dto 만들기 package shop.mtcoding.bankapp.dto.account; import lombok.Getter; import lombok.Setter; @Getter @Setter public class AccountSaveReqDto { private String number; private String password; } Controller @Autowired private HttpSession session; @Post
steponecoding.tistory.com
https://steponecoding.tistory.com/39
[Bank App] 9강 계좌목록보기
쿼리 만들기 유저 id 로, 계좌 목록을 조회할 수 있는 쿼리를 만듦 select * from account_tb where user_id = 1; Account xml 파일 mapper select * from account_tb where user_id = #{principalId} Repository public List findUserById(Integer
steponecoding.tistory.com
https://steponecoding.tistory.com/40
[Bank App] 10강 출금하기
Dto 만들기 package shop.mtcoding.bankapp.dto.account; import lombok.Getter; import lombok.Setter; @Setter @Getter public class AccountWithdrawReqDto { private Long amount; private String wAccountNumber; private String wAccountPassword; } controller @Pos
steponecoding.tistory.com
https://steponecoding.tistory.com/41
[Bank App] 11강 입금하기
Dto package shop.mtcoding.bankapp.dto.account; import lombok.Getter; import lombok.Setter; @Setter @Getter public class AccountDepositReqDto { private Long amount; private String dAccountNumber; } Controller @PostMapping("/account/deposit") public String d
steponecoding.tistory.com
https://steponecoding.tistory.com/42
[Bank App] 12강 이체하기
Dto 만들기 package shop.mtcoding.bankapp.dto.account; import lombok.Getter; import lombok.Setter; @Setter @Getter public class AccountTransferReqDto { private Long amount; private String wAccountNumber; private String dAccountNumver; private String wAcc
steponecoding.tistory.com
https://steponecoding.tistory.com/43
[Bank App] 13강 계좌 상세보기
주소 설계 계좌 상세보기 /account/1 /account/1?gubun=all /account/1?gubun=withdraw /account/1?gubun=deposit 스프링 컨트롤러 쿼리스트링 디폴트 값 받는법 쿼리 만들기
steponecoding.tistory.com
'Project > 개인 Project - Bank App' 카테고리의 다른 글
[Bank App] 13강 계좌 상세보기 (0) | 2023.06.16 |
---|---|
[Bank App] 12강 이체하기 (0) | 2023.06.16 |
[Bank App] 11강 입금하기 (0) | 2023.06.16 |
[Bank App] 10강 출금하기 (0) | 2023.06.16 |
[Bank App] 9강 계좌목록보기 (1) | 2023.06.16 |