/add-graphiql-to-amplify-api

Add a graphiql web app to your Amplify code repository

Primary LanguageJavaScript

Add GraphiQL to an app with AWS Amplify API

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