Skip to content

๐Ÿ“š ์›ํ‹ฐ๋“œ ํ”„๋ฆฌ์˜จ๋ณด๋”ฉ ํ”„๋ก ํŠธ์—”๋“œ ์ฑŒ๋ฆฐ์ง€ 2์›” ์‚ฌ์ „๋ฏธ์…˜

Notifications You must be signed in to change notification settings

GitHubGW/wanted-pre-onboarding-challenge-fe-2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

ํ”„๋ฆฌ์˜จ๋ณด๋”ฉ ํ”„๋ก ํŠธ์—”๋“œ ์ฑŒ๋ฆฐ์ง€ 2์›”

๋ชฉ์ฐจ

ํ”„๋กœ์ ํŠธ ์‹คํ–‰

  1. git clone https://github.com/GitHubGW/wanted-pre-onboarding-challenge-fe-2๋ฅผ ํ†ตํ•ด ๋ฆฌํฌ์ง€ํ† ๋ฆฌ๋ฅผ ํด๋ก ํ•ฉ๋‹ˆ๋‹ค.
  2. npm install์„ ํ†ตํ•ด ํ•„์š”ํ•œ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋ฅผ ์„ค์น˜ํ•ฉ๋‹ˆ๋‹ค.
  3. npm run docs๋ฅผ ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค.
git clone https://github.com/GitHubGW/wanted-pre-onboarding-challenge-fe-2
npm install
npm run docs

ํ”„๋กœ์ ํŠธ ๊ตฌ์กฐ

  • models : ๊ณตํ†ต ๋ชจ๋ธ ๊ด€๋ฆฌ
  • utils : ์œ ํ‹ธ๋ฆฌํ‹ฐ ํ•จ์ˆ˜ ๊ด€๋ฆฌ
 โ”ฃ src
 โ”ƒ โ”ฃ models
 โ”ƒ โ”ƒ โ”— todo.js
 โ”ƒ โ”ฃ utils
 โ”ƒ โ”ƒ โ”— todo.js
 โ”ƒ โ”— index.js

๊ตฌํ˜„ ์‚ฌํ•ญ

  • ํ•„์š”ํ•œ ๋ฐ์ดํ„ฐ๋ฅผ ๋ชจ๋‘ ๋ชจ๋ธ๋งํ•œ๋‹ค.
  • ์‚ฌ์šฉ๋˜๋Š” ๋ชจ๋“  ํ•จ์ˆ˜๋ฅผ ์„ ์–ธ๋ถ€๋งŒ ๋งŒ๋“ ๋‹ค.
  • ํ•จ์ˆ˜ ๋ฐ ํด๋ž˜์Šค์˜ ๋‚ด๋ถ€๋Š” ๊ตฌํ˜„ํ•˜์ง€ ์•Š๋Š”๋‹ค.
  • JSDoc์„ ํ™œ์šฉํ•ด ๋ฌธ์„œํ™”ํ•œ๋‹ค.
  • GitHub Page๋ฅผ ํ™œ์šฉํ•ด JSDoc ์ •์  ํŽ˜์ด์ง€๋ฅผ ๋ฐฐํฌํ•œ๋‹ค.

๊ธฐํƒ€

CREATE

  • ํ•  ์ผ์„ ์ถ”๊ฐ€ํ•  ์ˆ˜ ์žˆ๋‹ค.
  • ๋‚ด์šฉ์—†์ด ์ถ”๊ฐ€ํ•  ์ˆ˜ ์—†๋‹ค.

READ

  • ๋ชจ๋“  ํ•  ์ผ์„ ์กฐํšŒํ•  ์ˆ˜ ์žˆ๋‹ค.
  • ID๋ฅผ ๊ธฐ๋ฐ˜์œผ๋กœ ํŠน์ • ํ•  ์ผ์„ ์กฐํšŒํ•  ์ˆ˜ ์žˆ๋‹ค.

UPDATE

  • ID๋ฅผ ์ œ์™ธํ•œ ๋ชจ๋“  ์†์„ฑ์„ ์ˆ˜์ •ํ•  ์ˆ˜ ์žˆ๋‹ค.
  • ํŠน์ • ํ•  ์ผ์˜ ํŠน์ • ํƒœ๊ทธ๋ฅผ ์ˆ˜์ •ํ•  ์ˆ˜ ์žˆ๋‹ค.

DELETE

  • ID๋ฅผ ๊ธฐ๋ฐ˜์œผ๋กœ ํŠน์ • ํ•  ์ผ์„ ์‚ญ์ œํ•  ์ˆ˜ ์žˆ๋‹ค.
  • ๋ชจ๋“  ํ•  ์ผ์„ ์ œ๊ฑฐํ•  ์ˆ˜ ์žˆ๋‹ค.
  • ํŠน์ • ํ•  ์ผ์˜ ํŠน์ • ํƒœ๊ทธ๋ฅผ ์‚ญ์ œํ•  ์ˆ˜ ์žˆ๋‹ค.
  • ํŠน์ • ํ•  ์ผ์˜ ๋ชจ๋“  ํƒœ๊ทธ๋ฅผ ์ œ๊ฑฐํ•  ์ˆ˜ ์žˆ๋‹ค.

Todo

Todo {
  ์•„์ด๋””(required),
  ๋‚ด์šฉ(required),
  ์™„๋ฃŒ์—ฌ๋ถ€(required),
  ์นดํ…Œ๊ณ ๋ฆฌ(required),
  ํƒœ๊ทธ๋“ค(optional),
}

Modeling (Shape)

Item {
  property(required),
  property(optional),
}

Reference

About

๐Ÿ“š ์›ํ‹ฐ๋“œ ํ”„๋ฆฌ์˜จ๋ณด๋”ฉ ํ”„๋ก ํŠธ์—”๋“œ ์ฑŒ๋ฆฐ์ง€ 2์›” ์‚ฌ์ „๋ฏธ์…˜

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published