You can Check this blog for Graphql:
For Vue storefront:
Set file system ownership and permissions again as a user with root privileges.
Don’t install sample data in production mode. Switch to developer mode and clear var(cached files) directories and try again.
Enter the following commands in the order shown as the Magento file system owner:
$bin/magento deploy:mode:set developer