Skip to content

[2단계 - todo list] 현구막(최현구) 미션 제출합니다. #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 22 commits into
base: hyeon9mak
Choose a base branch
from

Conversation

Hyeon9mak
Copy link
Member

미션 제출합니다!

MDN Web docs에 잘 정리된 기능들과 querySelector의 강력함 덕분에 천천히 진행 할 수 있었어요.
제공된 API중에 2가지가 완전히 동일한 기능을 제공해서, 한 쪽만 사용하게 되었네요.

User의 Todo Item 불러오기

method uri
GET /api/users/:userId/items/
{
 response: {
   "_id": "string",
   "name": "string",
   "todoList": [...]
  }
}

User 불러오기

method uri
GET /api/users/:userId
{
 response: {
   "_id": "string",
   "name": "string",
   "todoList": [...]
  }
}

또, 그루밍 선생님이 알려주신 export, import 구문을 통해서 신나게 파일들을 쪼갤 수 있었어요! 속이 다 시원합니다 😆
그래도 js 파일들을 올바르게 나눈 것인지, index.js 파일이 지나치게 거대해진게 아닌지 걱정이 남네요.
이 부분에 대해서 질문 드리고 싶습니다!

감사합니다!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant