GraphQL-tutorial
Tutorial for GraphQL + Node Express + MySQL, and sample for Android / iOS client
Blog
Materials
- Starter tutorial at ${TOP_DIR}/starter/
- Final tutorial at ${TOP_DIR}/final/
- Client sample projects for further study at ${TOP_DIR}/clientSample/{android|ios}
Prerequisite
- Install node (+ npm)
curl "https://nodejs.org/dist/latest/node-${VERSION:-$(wget -qO- https://nodejs.org/dist/latest-v14.x/ | sed -nE 's|.*>node-(.*)\.pkg</a>.*|\1|p')}.pkg" > "$HOME/Downloads/node-latest.pkg" && sudo installer -store -pkg "$HOME/Downloads/node-latest.pkg" -target "/"
brew install node@14
- Install sequelize-auto
brew install sequelize-auto
Requirements
- macOS or Windows PC
- node 11.0 or later (recommend [email protected])
- npm 7.0 or later (recommend [email protected])
- (Optional) DBeaver.app 21.0 or later
- (Optional) pm2 5.0 or later
brew install pm2