Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

simonaco/serverless-graphql-workshop

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

serverless-graphql-workshop

In this workshop we'll build a Serverless GraphQL endpoint for an existing voting API.

slides

Build Scalable APIs Using GraphQL and Serverless

Prerequisites

  1. A recent version of Node (8+)

  2. VS Code

  3. Azure Functions CLI

  4. Azure Functions Extension for VS Code

  5. Free Azure Account

Steps

  1. Create your own services following steps on services readme

  2. Create GraphQL endpoint following steps on api readme

  3. Add GraphiQL UI using steps in readme

Demo app

GraphQL endpoint: https://graphqlplayground.azurewebsites.net/api/graphql

GraphiQL endpoint: https://graphqlplayground.azurewebsites.net/api/graphiql

Sample query:

query {
  teams {
    id
    name
    points
  }
}

Sample mutation:

mutation {
  incrementPoints(id:2) {
    id
    name
    points
  }
}

🎉 Congrats!! You made it - built your very first GraphQL endpoint on Serverless! 🎉

Releases

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.