Strapi Crash Course (with React & GraphQL) #8 - GraphQL Plugin & Overview

preview_player
Показать описание
In this tutorial we'll see how to set up GraphQL with Strapi using the GraphQL plugin & also have a little GraphQL refresh.

🐱‍💻 Access the course files on GitHub:

🐱‍👤 Get access to extra premium courses on Net Ninja Pro:

🐱‍💻Starter Project CSS (lesson 5):

🐱‍💻 Full React Course:

🐱‍💻 Social Links:
Рекомендации по теме
Комментарии
Автор

GraphQL

# Write your query or mutation here
query GetReviews {
reviews {
data {
id,
attributes {
title,
rating,
body
}
}
}
}

mattkishon
Автор

Server wasn't able to start properly.
[2021-08-17T07:37:56.779Z] error Error: Cannot use GraphQLObjectType "Query" from another module or realm.


Was kann ich da machen???? es funktioniert nix

valentinrohle
Автор

I am running into a graphql duplicate version issue here. I am stuck on this course as I can't seem to install the graphql plugin and run strapi v4. Any suggestions would be greatly appreciated. Cheers all.

webok
Автор

From which version of Strapi we have to write query as like this??

# Write your query or mutation here
query GetReviews {
reviews {
data {
id,
attributes {
title,
rating,
body
}
}
}
}

rabbihaquemunna
Автор

How do we get image url of uploaded media

elmcapp
Автор

i cannot acess the graphql in production, can someone help me

muhammedajmalriswan
Автор

Hey man, great tutorial on Strapi. Can you please make a tutorial on loopback4? Can't wait for your answer.

jimmymalark
Автор

While installing the plugin I got the below error

Cannot find module
Require stack:
-
-
-
npm ERR! code ELIFECYCLE
npm ERR! errno 1

how to solve this error??

nirajgohel
Автор

The autoReload feature needs to be enabled. Please start your app with `yarn develop`.
And I am using npm instead of yarn

cherriepie
Автор

when I install the plugin, strapi never restarts and shows me an error that says there are multiple instances, does anyone know the solution? I tried using many of the online ones but none of them work

matiasbacelar
Автор

wow great tutorial can you make a tutorial user auth with redux

Midexigner
Автор

it took so much time to solve the issue, I needed to downgrade graphql to 15.8.0 and add a "resolutions": {
"graphql": "^15.8.0",
"**/graphql": "^15.8.0"
}, and delete node_modules and start the server again

egemencelik
Автор

Hey shaun, please release a Wordpress Course 🥺

siamekanto
Автор

ReviewDetails.js

import React from 'react';
import { useParams } from 'react-router-dom';
import useFetch from '../hooks/useFetch'

export default function ReviewDetails () {
const { id } = useParams();

if (loading) return <p>Loading Homepage...</p>
if (error) return <p>Error :</p>

console.log(data)

return (
<div className="review-card">
<div


<small>console list</small>


</div>
)
}

mattkishon
visit shbcf.ru