๊ฒฐ์ ๋ด์ญ ๊ด๋ฆฌ ํ๋ก์ ํธ
ํ ํ์
๋
ธ์
๐๐ป In here
git clone https://github.com/woowa-techcamp-2020/hkb-11.git
cd hkb-11
npm installAdd .env to root folder
DB_HOST= *.*.*.*
DB_USER= agrajak
DB_PASSWORD= ********
DB_DATABASE= hkb
Develop mode
npm run devautomatically open http://localhost:9000
Production mode
npm startThen, you can access to your server http://localhost:3000
Common
Frontend
Backend
ETC
- Model
- View
- Component (=Controller)
- Model : Observable Class
- Component : Model ๊ตฌ๋
- Model์ ๋ณํ๊ฐ ์๊ธฐ๋ฉด ๊ตฌ๋ ํ Component์ ์ฐ๋ฝ
- Component๋ ์์ ์ด ๊ฐ์ง๊ณ ์๋ View์ ํธ๋ค๋ฌ๋ฅผ ํธ์ถ
- View์ ํธ๋ค๋ฌ๋ ์์ ์ ํ๋ฉด์ ์กฐ์ํ๋ ์ญํ ์ ๋ด๋น
Model๊ณผ View์ ์ฐ๊ฒฐ์ ๋์จํ๊ฒ ํจ
HKB Team 11 Notion Check It Out!
- Github Board๋ฅผ ํตํด ์ด์๋ฅผ ์์ฑ
- ์ด์์ ๋ผ๋ฒจ๊ณผ ๋ง์ผ์คํค ๋ฑ๋ก ํ ์ ๋ฌด ๋ถํ
- ์ปดํฌ๋ํธ๋ณ๋ก ์ด์๋ฅผ ๋ง๋ค๊ณ , ํด๋น ์ปดํฌ๋ํธ์์ ์ํํด์ผ ํ๋ ๋ชจ๋ ๋์์ ์ด์์ ์์ฑ
- ์ด์ ๋ด์ฉ์ ์ฒดํฌ๋ฐ์ค๋ฅผ ํตํด ํ์์ด ์ธ๋ถ์ ์ธ ์งํ์ฌํญ์ ํ์ ํ ์ ์๋๋ก ํจ
- Github์์ ์ด์ ์์ฑ ๋ฐ ์ข ๋ฃ, ํ๋ฆฌํ์คํธ ๋ฑ๋ก ๋ฐ ๋จธ์ง ๋ฑ์ ์์ ๋ง๋ค ์ฌ๋ ๋ฉ์ธ์ง ์ ์ก
- ํด๋ ๊ตฌ์กฐ ์ค๊ณ, DB Table ์ค๊ณ, HTML ๋งํฌ์ ๋ฑ์ ์์ ์ ํ์ด ํ๋ก๊ทธ๋๋ฐ์ผ๋ก ์งํ
- Thanks to Lenovo Monitor
์๋ ๋ชจ๋ ๊ฒ๋ค์ ์ปจ๋ฒค์ ์ ์ ์ํ๊ณ ์์
- branch, issue, commit message
- file name, class name, variable name
- function name
- HTMLElement ๋ณ์๋
$๋ก ์์ํ๋ค. - ๋ฒํผ์ ํ ๋น๋ ์ด๋ฒคํธํธ๋ค๋ฌ๋ ํ์๋ฅผ ๊ธฐ์ค์ผ๋ก
bind+๋ช ์ฌ+๋์ฌ+handler๋ผ๊ณ ์ ํ๋ค. (ex..button-add-invoice->bindAddInvoiceHandler)
- HTMLElement ๋ณ์๋