์๋ฐ์ ์คํ๋ง ๋ถํธ๋ก ์์ ์ต์ด ์๋ฒ ๋ง๋ค๊ธฐ, ๋๊ตฌ๋ ์ฝ๊ฒ ๊ฐ๋ฐ๋ถํฐ ๋ฐฐํฌ๊น์ง! [์๋ฒ ๊ฐ๋ฐ ์ฌ์ธ์ ํจํค์ง]
Java์ Spring Boot, JPA, MySQL, AWS๋ฅผ ์ด์ฉํด ์๋ฒ๋ฅผ ๊ฐ๋ฐํ๊ณ ๋ฐฐํฌํฉ๋๋ค. ์น ์ ํ๋ฆฌ์ผ์ด์ ์ ๊ฐ๋ฐํ๋ฉฐ ์๋ฒ ๊ฐ๋ฐ์ ํ์ํ ๋ฐฐ๊ฒฝ์ง์๊ณผ ์ด๋ก , ๋ค์ํ ๊ธฐ์ ๋ค์ ๋ชจ๋ ํ์ตํ ๋ฟ ์๋๋ผ, ๋ค์ํ ์ต์ ๋ค์ ์๋ฏธ, Spring Boot์ ์ญ์ฌ์ ๊ฐ์ฅ ์ต์ ๋ฒ์ ์ ๋ณ๊ฒฝ์ ๋ค๋ ์ง์ด๋ด ๋๋ค.

- ๋ฏธํด๊ฒฐ
๋ฆฌ์กํธ ๊ด๋ จ ์ง๋ฌธ์ด ์์ต๋๋ค.
์๋ ํ์ธ์. ์ ์๋.๋๋ฌด ์ฝ๊ฒ ์ค๋ช ํด ์ฃผ์ ์ ์ดํด๊ฐ ์์ฃผ ์๋๊ณ ์ฆ๊ฒ๊ฒ ๊ฐ์๋ฅผ ๋ฃ๊ณ ์์ต๋๋ค. ^^
javaspringawsmysqlspring-bootjpa์ด์ฌ์ด
ใป
4์ผ ์
0
26
1
- ๋ฏธํด๊ฒฐ
์คํ๋ง๋ถํธ ๋ฒ์
์๋ ํ์ธ์. ์ ์๋.์ ์๋ ๊ฐ์๋ฅผ ๋ค์ผ๋ฉด์ ํ๊ณ ์๋๋ฐ์คํธ๋ง ๋ถํธ ์ด๋ค ๋ฒ์ ์ ๋ฐ์ผ๋ฉด ๋ ์ง ์ง์ ๋๋ฆฝ๋๋ค
javaspringawsmysqlspring-bootjpa์ด์ฌ์ด
ใป
7์ผ ์
0
43
2
- ๋ฏธํด๊ฒฐ
7๊ฐ ๊ฐ์๋ฅผ ๋ค์ผ๋ ค๊ณ ํ๋๋ฐ ์ค๋ฅ๊ฐ ๋์ ์๋ฒ๊ฐ ์ ์ผ์ง๋๊ฑฐ ๊ฐ์์.
6๊ฐ๊น์ง ๊ฐ์๋ฅผ ๋ค์ผ๋ฉด์ ์๋ฒ๊ฐ ์ผ์ง๊ณ POSTMAN์ผ๋ก ๋์ํ๋๊ฑธ ํ์ธํ์๋๋ฐ ๋ค์๋ ๋ถํฐ ์๋ฒ๊ฐ ์คํ์ด ์๋๋๋ผ๊ณ ์. ๊ทธ๋์ gptํํ ๋ฌผ์ด๋ณด๋ resources ํ์ผ ์์ application.yml ํด๋๋ฅผ ๋ง๋ค๊ณ
javaspringawsmysqlspring-bootjpa๋ฐ์ฑ์ค
ใป
11์ผ ์
0
37
2
- ๋ฏธํด๊ฒฐ
33๊ฐ. UserLoanHistory์ ๊ด๊ณ์ฑ์ ๋ํ ์ง๋ฌธ
์๋ ํ์ธ์ ์ ์๋.๊ฐ์๋ฅผ ๋ฃ๋ ์ค ๊ถ๊ธํ ์ ์ด ์๊ฒจ์ ์ด๋ ๊ฒ ๊ธ์ ๋จ๊ธฐ๊ฒ๋์์ต๋๋ค.UserLoanHistory๋ผ๋ Entitiy๋ ๊ฐ์์์ ๋ง์ํ์ จ๋ฏ์ด User์ ManyToOne์ ๊ด๊ณ๋ฅผ
javaspringawsmysqlspring-bootjpaHyeok Jin Park
ใป
12์ผ ์
1
40
2
- ๋ฏธํด๊ฒฐ
Java JDK ๋ฒ์ ๋ฌธ์์ ๊ฑด
<img src="https://cdn.inflearn.com/public/files/posts/ce2297a3-7d41-4beb-9ae3-cb77733bd067/8df0d930-80bc-4779-885e-f952194b1004.png" media-type="img"
javaspringawsmysqlspring-bootjpabora.it
ใป
ํ ๋ฌ ์
0
103
2
- ๋ฏธํด๊ฒฐ
ec2 ์์ Linux๋ฒ์ ์ด ๋ฌ๋ผ์ ธ์ ์ค์น๊ฐ ์๋๋๊ฒ ๊ฐ์๋ฐ ์๋ฃ ์ต์ ํ์ข ํด์ฃผ์ธ์.
์์ ์๋ฃ ์ต์ ํ์ข ํด์ฃผ์ธ์.pdf ์๋ฃ ๋ณด๋ฉด์ ํ๋ค๊ฐ ํ๋ค ํ๋ค ์๋์ ์ปค๋ฎค๋ํฐ๋ ์ฐพ๋ค๋ณด๋๊น ๋ฒ์ ์๋ง์์ ์ค์น ์๋๊ณ ์์๋ค์.<p style="text
javaspringawsmysqlspring-bootjpa์๋ฌด๊ฐ๊น
ใป
2๋ฌ ์
0
74
3
- ๋ฏธํด๊ฒฐ
h2 console ์ ์ํ์ ํ ์ด๋ธ ์ง๋ฌธ
ddl-auto: create๋ก ์ค์ ๋์ด ์์ด์ ์๋์ผ๋ก ํ ์ด๋ธ์ด ์์ฑ๋๊ฒ ๋์ด ์๋ค๋ ๋ง์ ์ดํด๊ฐ ๋๋๋ฐ์. BOOK, USER, USER
javaspringawsmysqlspring-bootjpa๊น๋ํ
ใป
2๋ฌ ์
1
58
1
- ๋ฏธํด๊ฒฐ
ec2 ์๋ฒ์์ ์คํ๋ง ์คํ๋ ๋๊ณ ์ธ๋ฐ์ด๋ ์ค์ ๊น์ง ํ๋๋ฐ index.html ์๋จ
<img src="https://cdn.inflearn.com/public/files/posts/a9f33ae9-2d8c-4c9f-b842-5c936b6312c6/89f3e986-ce43-4890-a6f6-0240606f5e5b.png" media-type="img"
javaspringawsmysqlspring-bootjpa์ง์ง
ใป
2๋ฌ ์
0
59
2
- ๋ฏธํด๊ฒฐ
15๊ฐ. updateUser() ์ง๋ฌธ
@PutMapping("/user") public void updateUser(@RequestBody UserUpdateRequest request){ String readSql = "select * from user where id=?";
javaspringawsmysqlspring-bootjpa๊น๋ํ
ใป
2๋ฌ ์
0
44
2
- ๋ฏธํด๊ฒฐ
๊นํ๋ธ ์ง
<img src="https://cdn.inflearn.com/public/files/posts/50f9dd1b-5c1d-45e2-bacd-701c5fb71959/32f2e20b-1d2e-4f4f-9138-cbb4ac86a47e.png" media-type="img"
javaspringawsmysqlspring-bootjpa๊น์ฑ๊ด
ใป
3๋ฌ ์
0
58
2
- ๋ฏธํด๊ฒฐ
์ฌ๊ธฐ๊น์ง ๋ค ๋๋๋ค๊ณ ํ์ จ๋๋ฐ
์ ๊ฐ ์๋ชป๊ตฌํํ๊ฑด์ง ๊ฐ์ ์ฑ ์ด๋ฆ์ผ๋ก์ฌ๋ฌ๊ฐ์ ์ฑ ์ด๋ฆ์ด ๋ค์ด๊ฐ๋ ๊ฑฐ ๊ฐ์๋ฐ<
javaspringawsmysqlspring-bootjpa๊น์ฑ๊ด
ใป
3๋ฌ ์
0
66
2
- ๋ฏธํด๊ฒฐ
์์๋ ๊น์
<img src="https://cdn.inflearn.com/public/files/posts/be4f705a-9ca8-46cc-823a-80066d542fa9/af12ce58-cb13-46ab-b9f4-a861b5dbe846.png" media-type="img"
javaspringawsmysqlspring-bootjpa๊น์ฑ๊ด
ใป
3๋ฌ ์
0
56
2
- ๋ฏธํด๊ฒฐ
MySQL ์ฐฝ์ด์ใด๋น๋๋ค
<img src="https://cdn.inflearn.com/public/files/posts/11fdd111-7662-4509-b6fa-7efcd99aadf5/a4ecaaf1-0ad2-47d8-892b-d62f5d03b714.png" media-type="img"
javaspringawsmysqlspring-bootjpa๊น์ฑ๊ด
ใป
3๋ฌ ์
0
43
2
- ๋ฏธํด๊ฒฐ
ํฌ์คํธ๋งจ
ํฌ์คํธ๋งจ ๊น์๋๋ฐ์ ์ด๊ฑฐ ์คํํ๋ฉด ์์ผ์ง๊น์..?
javaspringawsmysqlspring-bootjpa๊น์ฑ๊ด
ใป
3๋ฌ ์
0
40
1
- ๋ฏธํด๊ฒฐ
aws ํ๋ฆฌํฐ์ด ์ ์ฑ
์๋ ํ์ธ์ ํํ๋!์ต๊ทผ์ AWS ํ๋ฆฌ ํฐ์ด ์ ์ฑ ์ด ๋ฐ๋ ๊ฑธ๋ก ์๊ณ ์๋๋ฐ ํน์ ์ด๋ฒ ๊ฐ์ ์ค์ต์์ ์ฌ์ฉํ๋ ๋ฆฌ์์ค๋ค์ด ํ๋ฆฌ ํฐ์ด ํฌ๋ ๋ง ์์์ ๋ชจ๋ ์ปค๋ฒ๋๋์ง ๊ถ
best11gh
ใป
5๋ฌ ์
1
141
2
- ๋ฏธํด๊ฒฐ
spring ๊ฐ๋ ์ ์ธ ์ง๋ฌธ
์คํ๋ง์ ์ฌ์ฉํ๋ ์ด์ ์ค ํ๋๊ฐ ์คํ๋ง ์ปจํ ์ด๋๋ฅผ ํตํ ์์กด์ฑ ์ฃผ์ (DI)์ด๋ผ๊ณ ์๊ณ ์์ต๋๋ค.๊ทธ๋ฌ๋ฉด ์คํ๋ง ์ปจํ ์ด๋๊ฐ Bean์ ๊ด๋ฆฌํ๊ธฐ ๋๋ฌธ์, ์๋์ผ๋ก ์ฑ๊ธํค ํจํด์ด ์ ์ฉ๋๋ค๊ณ ์ดํดํด๋ ๋ ๊น์?
javaspringawsmysqlspring-bootjpa๋ฆฌ๊ผฌ
ใป
5๋ฌ ์
0
61
2
- ๋ฏธํด๊ฒฐ
์ธํ ๋ฆฌ์ ์ด ์ํ์ฝ๋ ์คํ ์๋จ ์ค๋ฅ
์๋ ํ์ธ์! ์ฌ์ธ์ ์๋ฐ์ ์คํ๋ง ๋ถํฐ๋ก ์์ ์ต์ด ์๋ฒ ๋ง๋ค๊ธฐ ๊ฐ์ข ๋ฃ๊ณ ์๋ ์๊ฐ์์ ๋๋ค. ๊ฐ์ ์์์ ๋์จ ๊ฒ์ฒ๋ผ Java SE11
javaintellijLynn
ใป
6๋ฌ ์
0
120
2
- ๋ฏธํด๊ฒฐ
aws ๋ฐฐํฌํ ๋ .env ํ์ผ์ ์ ์ฅํ ํ๊ฒฝ๋ณ์์ ๊ดํ์ฌ ์ฌ์ญค๋ณผ๊ฒ ์์ต๋๋ค
์ ๋ application.yml ํ์ผ์์ mysql username ๊ณผ password ๋ฅผ ์ ๋ถ .env ํ์ผ์ ๋ฃ๊ณ $ {} ๋ฅผ ์จ์ ๋ํ๋์ต๋๋ค. ๊ทธ๋์ .env ํ์ผ์ ๊นํ๋ธ์ ์ฌ๋ฆฌ๋ฉด ์๋ผ์ ๋ฐฐํฌํด๋ ์ ๋๋ก ์๋
javaspringawsmysqlspring-bootjpa์ปค๋๋์ค
ใป
6๋ฌ ์
0
72
1
- ๋ฏธํด๊ฒฐ
๋ง์ด๊ทธ๋ ์ด์ ์ค๋ฅ์ ๋๋ค.
๊ฐ์์์ ๊ฐ์ฌ๋๊ป์ 11์์ 17๋ก ๋ฐ๊พธ๋ผ๋ ๋ชจ๋ ์ค์ ํ์คํ๊ฒ ์์ ์๋ฃํ๊ณ gradle ์ฝ๋ ์์ ํ์ฌ ์คํํ๋ A problem occurred configuring root project 'library-a
javaspringawsmysqlspring-bootjpaseongmin2053
ใป
6๋ฌ ์
0
150
3
- ๋ฏธํด๊ฒฐ
Whitelabel Error Page ์ค๋ฅ๊ฐ ๋ฌ์ต๋๋ค.
h2-console ์น์ ์ ์ํ๋ ค๊ณ ํ๋ Whitelabel Error Page ์ค๋ฅ๊ฐ ๋น๋๋ค. ๊ทธ๋์ ๊ตฌ๊ธ๋งํ๋ Spring Security์์ h2 console์ ํ์ฉํ๋ผ๋๋ฐ ์ด๋ป๊ฒ ํ๋์ง ์ ๋ชจ๋ฅด๊ฒ ์ต๋๋ค ใ ใ ..
javaspringawsmysqlspring-bootjpaseongmin2053
ใป
6๋ฌ ์
0
129
2






