Sprint mission#17
Open
miyo-9 wants to merge 15 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
클래스 구현하기
class키워드를 이용해서 Product 클래스를 만들어 주세요.name(상품명)description(상품 설명),price(판매 가격),tags(해시태그 배열),images(이미지 배열),favoriteCount(찜하기 수)프로퍼티를 가집니다.favorite메소드를 가집니다.favorite메소드가 호출될 경우 찜하기 수가 1 증가합니다.class키워드를 이용해서 ElectronicProduct 클래스를 만들어 주세요.manufacturer(제조사) 프로퍼티를 가집니다.title(제목),content(내용),writer(작성자),likeCount(좋아요 수) 프로퍼티를 가집니다.like메소드를 가집니다.like메소드가 호출될 경우 좋아요 수가 1 증가합니다.Article 요청 함수 구현하기
getArticleList(): GET 메소드를 사용해 주세요.page,pageSize,keyword쿼리 파라미터를 이용해 주세요.getArticle(): GET 메소드를 사용해 주세요.createArticle(): POST 메소드를 사용해 주세요.title,content,image를 포함해 주세요.patchArticle(): PATCH 메소드를 사용해 주세요.deleteArticle(): DELETE 메소드를 사용해 주세요.fetch혹은axios를 이용해 주세요..then()메소드를 이용하여 비동기 처리를 해주세요..catch()를 이용하여 오류 처리를 해주세요.Article 요청 함수 구현하기 (심화)
createdAt(생성일자) 프로퍼티를 만들어 주세요.createdAt에 현재 시간을 저장합니다.Product 요청 함수 구현하기
getProductList(): GET 메소드를 사용해 주세요.page,pageSize,keyword쿼리 파라미터를 이용해 주세요.getProduct(): GET 메소드를 사용해 주세요.createProduct(): POST 메소드를 사용해 주세요.name,description,price,tags,images를 포함해 주세요.patchProduct(): PATCH 메소드를 사용해 주세요.deleteProduct(): DELETE 메소드를 사용해 주세요.async/await을 이용하여 비동기 처리를 해주세요.try/catch를 이용하여 오류 처리를 해주세요.getProductList()를 통해서 받아온 상품 리스트를 각각 인스턴스로 만들어products배열에 저장해 주세요.Product클래스 대신ElectronicProduct클래스를 사용해 인스턴스를 생성해 주세요.Product클래스를 사용해 인스턴스를 생성해 주세요.기타
ProductService.js파일ProductAPI 관련 함수들을 작성해 주세요.ArticleService.js파일에ArticleAPI 관련 함수들을 작성해 주세요.main.js파일에 작성해 주세요.README.md파일을 작성해 주세요.