This is the sample code to help you start a graphql api quickly.
yarn dev
Run pm2 on production you can use pm2 start pm2.config.js --only api-production
pm2 start pm2.config.js --only api-<env> # env can be `development`, `test`, `staging`, `production`
yarn doc
https://developers.google.com/+/web/api/rest/oauth
Get access_token
from https://developers.google.com/oauthplayground, choose Google OAuth2 API v2 > https://www.googleapis.com/auth/userinfo.email
Get access_token
from https://developers.facebook.com/tools/accesstoken
Should install Prettier
plugin to do code format.
NODE_ENV=test node --inspect-brk index.js