API used in with-apollo is returning a 404 page #32731
Labels
examples
Issue/PR related to examples
good first issue
Easy to fix issues, good for newcomers
Upstream
Related to using Next.js with a third-party dependency. (e.g., React, UI/icon libraries, etc.).
What example does this report relate to?
with-apollo
What version of Next.js are you using?
latest
What version of Node.js are you using?
16.12.0
What browser are you using?
Chrome
What operating system are you using?
macOS
How are you deploying your application?
N/A
Describe the Bug
The with-apollo example is not working, see screenshot. This is because the API that's being used for Apollo is returning a 404 page as response, instead of an API response.
Expected Behavior
Would be nice if the example would contain a working dummy API.
To Reproduce
Create example with
yarn create next-app --example with-apollo with-apollo-app
and verify it's not working after starting. Visit https://nextjs-graphql-with-prisma-simple.vercel.app/api, see that it's returning a 404 error.The text was updated successfully, but these errors were encountered: