ํ๋ก ํธ ๊ฐ๋ฐ์๋ฅผ ์ํ ๋ฐฑ์๋ 101 (NestJS, TypeORM)
๊ฐ์ฅ ๋น ๋ฅด๊ฒ ๋ฐฑ์๋๋ฅผ ์ ๋ฌธํ๊ฒ ๋์์ฃผ๋ NestJS! ์ฌ๋ฌ ์ค์ต ํ๋ก์ ํธ๋ฅผ ํตํด ๋ฐฑ์๋ ํ๋ ์์ํฌ์ธ NestJS์ TypeORM, ๊ทธ๋ฆฌ๊ณ ์๋ฒ ๊ฐ๋ฐ์๋ผ๋ฉด ๊ผญ ์์์ผ ํ ํ์ ์ด๋ก ์ง์๊น์ง ์์ฑ์ผ๋ก ๋ฐฐ์ฐ๊ฒ ๋ฉ๋๋ค.
์๊ฐ์ 196๋ช
๋์ด๋ ์ด๊ธ
์๊ฐ๊ธฐํ ๋ฌด์ ํ

- ๋ฏธํด๊ฒฐ
db์ฐ๊ฒฐ์ด ๋ค๋์๋๋ฐ tables์ posts ํ ์ด๋ธ์ด ์์๊ฒจ์
์ด๋ฐ dmg๋ก ๋ค์ด๋ฐ์๋๋ , ๋ค์ด๋ฐ๊ณ ๋ญ ์ด๊ธฐ์ ํ ์งํํด์ ํด๋น ๋ก๊ทธ์ฒ๋ผ ์๋ฒ ๋ฐ์ดํฐ ๋ฒ ์ด์ค ์ ํํ๋๊ฑฐ psql์ ์์๋๋ฐ, ๋ช ๋ น์ด ์ฐพ์์ ์์ด๋ ๋ง๋ค๊ณ ๊ถํ์ฃผ๊ณ db๋ง๋ค๊ณ ๊พธ์ญ๊พธ์ญํด์ jdbc ์ฐ๊ฒฐํ๋๋ ํ ์ด๋ธ์์๊น
awspostgresqlnestjstypeormaws-rds์์ฑ์ ์์
ใป
3๋ฌ ์
0
46
2
- ๋ฏธํด๊ฒฐ
SQL Sheell
SQL Sheell ๊น๋นก ์ด๋ ธ๋ค๊ฐ ๊บผ์ง๋๋ฐ postgresql-18.0-2-windows-x64 ์ค์น ํด์ผ ๋๋์?
awspostgresqlnestjstypeormaws-rdsecj
ใป
4๋ฌ ์
0
39
1
- ๋ฏธํด๊ฒฐ
PostRepository ๊ตฌํ
<img src="https://cdn.inflearn.com/public/files/posts/15f48983-3fec-4e6a-a961-5c7c5369c9c5/31bbfe30-a228-4822-99ed-9b592a488d04.png" media-type="img"
nestjsGyuri Kim
ใป
5๋ฌ ์
0
41
1
- ๋ฏธํด๊ฒฐ
Nest.js์ ๋ ์ด์ด๋ ์ํคํ ์ฒ
nest.js์์์ ๋ ์ด์ด๋ ์ํคํ ์ฒ ๊ตฌ์กฐ์ ๊ถ๊ธํ ์ ์ด ์๊ฒจ ์ง๋ฌธ์ ๋จ๊น๋๋ค๊ฐ ๊ณ์ธต๋ณ ์ค์ ๊ตฌํ ํ์ผ์ ์๋์ ๊ฐ์ด ์ดํดํ๋ฉด ๋ ๊น
nestjstypeormGyuri Kim
ใป
5๋ฌ ์
0
57
1
- ๋ฏธํด๊ฒฐ
TypeORM ๋ง์ด๊ทธ๋ ์ด์
์ฐ์ typeorm.ts, app.modules.ts ๋ ํ์ผ ์ฝ๋ ๋ณต์ฌ ๋ถ์ฌ๋ฃ๊ธฐ ํ๋ฉดapp.modules.ts ์TypeOrm
awspostgresqlnestjstypeormaws-rdsSeok-woo Kim
ใป
5๋ฌ ์
0
64
2
- ํด๊ฒฐ
NestJS, TypeORM์ typeorm.ts์์ autoLoadEntities: true์ entities: []์ ๊ณต์กด
์๋ ํ์ธ์.TypeORM ๋ง์ด๊ทธ๋ ์ด์ ์ค์ต์์ ์๋์ ๊ฐ์ typeorm.ts ํ์ผ์ ์์ฑํ์ต๋๋ค.import { registerAs
awspostgresqlnestjstypeormaws-rdsyavathar
ใป
10๋ฌ ์
0
212
1
- ํด๊ฒฐ
ํฐ๋ฏธ๋์์ ์๋์์ฑ ๋๋๊ฑด ์ด๋ค ํ๋ก๊ทธ๋จ์ธ๊ฐ์?
ํฐ๋ฏธ๋์์ ์๋์์ฑ ๋๋๊ฑด ์ด๋ค ํ๋ก๊ทธ๋จ์ธ๊ฐ์?๋งฅ์ ์ ์ ๋๋ค
awspostgresqlnestjstypeormaws-rds๋ฌธํ์ Moon
ใป
์ผ ๋ ์
0
258
2
- ํด๊ฒฐ
module์์ import, export, provider, controller..
<img src="https://cdn.inflearn.com/public/files/posts/ddb9257a-7503-45b3-a2b6-9bae7569b6d1/56ad4606-3929-40e5-8357-dda19cd80bbc.png" media-type="img"
awspostgresqlnestjstypeormaws-rdsYU NA Joe
ใป
0
124
2
- ํด๊ฒฐ
์ฌ๋์ฑ๋ ๊ฐ์ ์ด ์๋ฉ๋๋ค.
<img src="https://cdn.inflearn.com/public/files/posts/47f1e86f-4e39-4e0a-bdc6-7b417acab28f/fdff0eff-1760-4755-a5d5-1cb329bf3527.png" media-type="img"
awspostgresqlnestjstypeormaws-rdsYU NA Joe
ใป
0
290
2






