Fullstack-Serverless-GraphQL / fullstack-serverless-graphql-docs

The docs site for Fullstack Serverless GraphQL in Gatsby.
https://fsgql.com
MIT License
31 stars 7 forks source link

Serverless-offline: route not found #111

Closed ltcrawshaw closed 3 years ago

ltcrawshaw commented 3 years ago

Steps To Reproduce

  1. Clone serverless-GraphQL git demo
  2. Deploy Locally using sls offline

Link to code example:

Title of post you're stuck on:

The current behavior

localhost port 4000 is returning a 404 instead of GraphQL sandbox

{"statusCode":404,"error":"Serverless-offline: route not found.","currentRoute":"get - /","existingRoutes":["get - /graphql","post - /graphql","post - /{apiVersion}/functions/lunar-tour-api-dev-graphql/invocations"]}

The expected behavior

GraphQL sandbox in browser