TypeError: nodes.flatMap is not a function
flatMap, nodejs 12
sudo apt update
curl -fsSL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt install -y nodejs
TS7016: Could not find a declaration file for module 'morgan'
-> npm install --save-dev @types/express @types/morgan
sh: nodemon: command not found
-> npm install -g nodemon
failed to start process, "ts-node" exec not found
-> npm install -g ts-node
TS7016: Could not find a declaration file for module 'compression'.
-> npm install --save-dev @types/express @types/compression
TS2304: Cannot find name 'dotenv'
-> npm install dotenv
-> import dotenv from 'dotenv';
Apollo Express GraphQL API 서버 도입하기 (feat.Typescript)
여태 토이 프로젝트 이건, 회사 프로젝트 이건 Rest API 만 사용했었는데, 지금 사용하고 있는 공유 오피스에서 알게 된 백엔드 개발자가 React와 GraphQL 사용법을 물어와 관련내용을 좀 찾아보니 너
maruzzing.github.io
https://www.daleseo.com/graphql-apollo-server-auth/
GraphQL 서버의 사용자 인증/인가 (Apollo Server Authentication/Authorization)
Engineering Blog by Dale Seo
www.daleseo.com
'푸닥거리' 카테고리의 다른 글
react project create error in aws (0) | 2022.05.10 |
---|---|
curl 로 graphql 호출하기 (0) | 2022.05.03 |
selectSingleNode is not a function (0) | 2022.05.02 |
FortiOS - REST API Reference (0) | 2022.04.30 |
apollo graphql server (0) | 2022.04.27 |
댓글