Yes, in the React & Apollo tutorial it says yo...
# prisma-whats-new
r
Yes, in the React & Apollo tutorial it says you will be using the final project from the next from Graphql-js tutorial. And so I followed the Graph-ql tutorial. With all tests passing, and then tried to use that server in the React Apollo tutorial
n
Ah sorry if that’s confusing! The
React & Apollo
tutorial is self-contained. You don’t need to go through the
graphql-js
tutorial to be able to do the
React & Apollo
tutorial 🙂
(please let’s try to stick to threads 🙂 )
The
React & Apollo
tutorial has instructions to setup the server. It’s true that it’s based on the project that’s created in the
graphql-js
track, but you don’t have to build the server yourself but just download the final version of it: https://www.howtographql.com/react-apollo/1-getting-started/
r
Okay. I know it is not required to do the backend yourself. But I still should be able to do the backend without just building with the curl command
👍 1
n
Ah yeah that’s right! You can definitely do that!!
r
So I did that at first. But I don’t like how my query fields are forced to be “description” and “url”
Okay. that’s where I am today, I did that and now I’m getting Post 400
Any suggestions on why my server isn’t talking to my client?
n
Let’s discuss this further in DMs 🙂
b
If the server you built from the first tutorial is up and running (yarn start from the server directory) you should be able to point the browser to localhost:4000. Is this working?
👍 1
r
Bro, yes it is
I can send requests and mutations in localhost:4000
b
Ok, I cloned your repo and am getting the same error. Let me look at this a bit
n
Thanks for helping out @Bro, we already figured it out. The
createdAt
field was missing on the
Link
type 👍
b
ah cool