Skip to content

Naming Convention

๋ฐฉ๊ทœ๋นˆ edited this page Nov 11, 2021 · 5 revisions

๋„ค์ด๋ฐ ์ปจ๋ฒค์…˜

  • ํด๋ž˜์Šค
    • ClassName
  • ๋ณ€์ˆ˜๋ช…
    • camelCase
  • ํ•จ์ˆ˜๋ช…
    • camelCase
  • ๋””๋ ‰ํ† ๋ฆฌ๋ช…/ํŒŒ์ผ๋ช…
    • ์ผ๋ฐ˜์ ์œผ๋กœ ์†Œ๋ฌธ์ž
    • ์ปดํฌ๋„ŒํŠธ์— ํ•ด๋‹นํ•˜๋ฉด ํŒŒ์Šค์นผ์ผ€์ด์Šค
  • ์ƒ์ˆ˜๋ช… : ๋ฌธ์ž๋Š” ๋ชจ๋‘ ๋Œ€๋ฌธ์ž, ๋„์–ด์“ฐ๊ธฐ๋Š” ์–ธ๋”์Šค์ฝ”์–ด ex) COLOR_RED
  • Prettier

TypeScript

๋ฐฐ์—ด : Array<string> || string[]

const dataList: Array<string> = ['asdfff','dff']
const dataList: string[] = ['asdfff','dff'] // ์ด๊ฑธ๋กœ~

Google TypeScript Style Guide

  • ํƒ€์ž…์ด๋‚˜ ์ธํ„ฐํŽ˜์ด์Šค๋Š” ํŒŒ์Šค์นผ์ผ€์ด์Šค

styled-component

  • ๋„ค์ด๋ฐ ์ปจ๋ฐด์…˜ StyledComponentDiv : ์ปดํฌ๋„ŒํŠธ๋ช…๊ณผ ์‹ค์ œ html ํƒœ๊ทธ๋ช…์„ ๋ถ™์—ฌ์„œ ์“ด๋‹ค

DB ์ปจ๋ฒค์…˜


SQL ํ‚ค์›Œ๋“œ ์˜ˆ์•ฝ์–ด๋Š” ๋Œ€๋ฌธ์ž๋กœ ์ž‘์„ฑ

ํ…Œ์ด๋ธ”๋ช…, ์ปฌ๋Ÿผ๋ช… ๋“ฑ์€ ์†Œ๋ฌธ์ž๋กœ.

๊ทธ๋ผ์šด๋“œ ๋ฃฐ

๊ธฐํš

์ปจ๋ฒค์…˜

์Šคํ”„๋ฆฐํŠธ

weeks

์ฃผ๊ฐ„ ํšŒ๊ณ ๋ก

weeks

ํ”ผ์–ด ์„ธ์…˜

weeks

๋ฐ์ผ๋ฆฌ ์Šคํฌ๋Ÿผ

1์ฃผ์ฐจ
2์ฃผ์ฐจ
3์ฃผ์ฐจ
4์ฃผ์ฐจ
5์ฃผ์ฐจ
6์ฃผ์ฐจ

๋ฐ๋ชจ ์˜์ƒ

weeks
Clone this wiki locally