npx add-graphiql-to-amplify-api
? Source Directory Path ( path to aws-exports.js ) : ./src/
? Graphiql Directory Path ( output code path ) : ./graphiql/
- Starts a server on localhost:1234 with graphiql
- Adds
graphiql
script in package.json to run the app - Adds simple extendable code to run it.
Afterwards you can run npm run graphiql at any time to run it