Closed viktorsmari closed 4 years ago
Hi @viktorsmari
Thanks for pointing this out, we're improving our documentation as we progress...
Btw, this issue happens when you run the client and the server on the same machine, to solve this, you can of course precede the yarn start
command as you wrote, or edit the variable REACT_APP_GRAPHQL_ENDPOINT
directly in .env
.
Currently it's not possible to file an issue on https://github.com/dyne/zenpub-client
Just opened the issues section :)
Perfect!
I think it makes sense documenting that the default dev port is 4004.
I will move other things to the client
issue tracker or submit a PR!
And btw, the links under 'Documentation index' in the README.md are all broken.
I'll close this one as we're working on the zenpub-client to fix this issue and improve the documentation! cheers
Hi!
Directly after cloning and doing the following:
make
make dev-setup
make dev
localhost:4000
does nothing but we can visitlocalhost:4004
which redirects tolocalhost:3000
http://localhost:4004/api/graphql
<-- This gives us the Playground. Should this maybe be in the README? Maybe I missed it..Then we start the
zenpub-client
which starts by default onlocalhost:4000
and when we try to sign up or sign in, the Network Headers give us errors:Status Code: 404 Not Found Request URL: http://localhost:4000/api/graphql
Am I missing some configuration?
Edit If nothing is changed on the
zenpub
backend and it starts on4004
, then this is needed to start thezenpub-frontend
correctly:REACT_APP_GRAPHQL_ENDPOINT='http://localhost:4004/api/graphql' yarn start
Currently it's not possible to file an issue on https://github.com/dyne/zenpub-client