상세 컨텐츠

본문 제목

graphql) toy-project 1-2

graphQL

by 인생도NIO 2022. 9. 18. 21:49

본문

이제 collection을 설정 해주어야한다.

 

1-1에서 봤던것처럼 api 폴더 아래에 item과 order에 collections.js 를 만들어준다

order/collections.js
item/collections.js

이렇게 작성해준다

 

'graphQL' 카테고리의 다른 글

graphql)toy-project 1-4  (0) 2022.09.18
graphql) toy-project 1-3  (0) 2022.09.18
graphql) toyproject 1-1  (0) 2022.09.18
graphql)서버 부하를 해결하기위한 방법  (0) 2022.09.17
graphql) MongoDB  (0) 2022.09.14

관련글 더보기