Jul 5, 2023
0
Level 1
Graphiql Server Not Showing Up
I am following a tutorial from freecodecamp https://www.freecodecamp.org/news/build-a-graphql-api-using-laravel/ and am trying to develop a laravel graphql API using rebing but when I go to localhost/graphiql, I get a 404 error and my docker server does not tell me what is the issue. I have this configured in my graphql.php file
'graphiql' => [
'prefix' => '/graphiql',
'controller' => \Rebing\GraphQL\GraphQLController::class . '@graphiql',
'middleware' => [],
'view' => 'graphql::graphiql',
'display' => env('ENABLE_GRAPHIQL', true),
],
I am not sure what is causing the issue, the tutorial is 2 years old but how can I fix this issue?
Please or to participate in this conversation.