All Projects → robzsk → serverless-plugin-graphiql

robzsk / serverless-plugin-graphiql

Licence: other
Creates http endpoints for graphql server with graphiql

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to serverless-plugin-graphiql

graphiql-storm
🌪 A GraphQl Web IDE
Stars: ✭ 111 (+105.56%)
Mutual labels:  graphiql
custom-graphiql
An utility wrapper around graphiql package to query any graphql endpoint.
Stars: ✭ 56 (+3.7%)
Mutual labels:  graphiql
finch-sangria
A simple wrapper for using Sangria from within Finch.
Stars: ✭ 33 (-38.89%)
Mutual labels:  graphiql
graphql-playground
🎮 GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration)
Stars: ✭ 8,103 (+14905.56%)
Mutual labels:  graphiql
hapi-plugin-graphiql
HAPI plugin for GraphiQL integration
Stars: ✭ 20 (-62.96%)
Mutual labels:  graphiql
protoc-gen-twirpql
Generate A GraphQL Layer from A Twirp Server: https://twirpql.dev
Stars: ✭ 49 (-9.26%)
Mutual labels:  graphiql
apollo-studio-community
🎡  GraphQL developer portal featuring an IDE (Apollo Explorer), auto-documentation, metrics reporting, and more. This repo is for issues, feature requests, and preview docs. 📬
Stars: ✭ 212 (+292.59%)
Mutual labels:  graphiql
DotNetGraphQL
A sample demonstrating how to create a GraphQL Backend in .NET and consume it from a .NET mobile app created using Xamarin
Stars: ✭ 78 (+44.44%)
Mutual labels:  graphiql
Graphiql
GraphiQL & the GraphQL LSP Reference Ecosystem for building browser & IDE tools.
Stars: ✭ 12,985 (+23946.3%)
Mutual labels:  graphiql
Graphql Dotnet
GraphQL for .NET
Stars: ✭ 5,031 (+9216.67%)
Mutual labels:  graphiql
Altair
✨⚡️ A beautiful feature-rich GraphQL Client for all platforms.
Stars: ✭ 3,827 (+6987.04%)
Mutual labels:  graphiql
Graphql Apis
📜 A collective list of public GraphQL APIs
Stars: ✭ 3,525 (+6427.78%)
Mutual labels:  graphiql

serverless-plugin-graphiql

Runs a local http server for graphiql and your graphql handler

Build Status Coverage Status serverless Npm Version

Usage

See /example directory for how easily it's done!

Steps

  1. Create a lambda function named graphql that implements a graphql server
  2. Add serverless-plugin-graphiql to serverless plugins array
  3. Run sls graphiql command from root of serverless project
  4. Visit localhost:8000/graphql in your browser to use graphiql

About

  • This plugin creates two http endpoints:
GET /graphql
POST /graphql
  • Once graphiql is running, you can also make requests via cli:
curl -X POST \
-H "Content-Type: application/json" \
-d '{"query": "{ hello }"}' \
localhost:8000/graphql

Options

--function -f   function name in serverless.yml for graphql handler, Default: graphql
--port -p       port for local http server to listen on, Default: 8000

Requirements

  • Node.js > v6.0
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].