this is a demo based on the tutorial of graphql at: https://www.howtographql.com/graphql-js/1-getting-started/

packages:

yarn add graphql-yoga --> graphql server

general to be used:

yarn add eslint-plugin-import --dev yarn add eslint --dev yarn add prettier --dev yarn add eslint-config-airbnb --dev yarn add eslint-config-prettier --dev yarn add nodemon --dev yarn add dotenv --dev

commands of prisma

prisma deploy --> deploys prisma token --> generates a auth jwt token prisma info

database info localhost:3306 user: root pass: graphcool

to launch the graphql explorer: graphql playground