Skip to content

Provide Apollo and Redux store to Frontend#7

Draft
kumarabhirup wants to merge 9 commits intomasterfrom
pr/apollo-redux-integration
Draft

Provide Apollo and Redux store to Frontend#7
kumarabhirup wants to merge 9 commits intomasterfrom
pr/apollo-redux-integration

Conversation

@kumarabhirup
Copy link
Owner

The PR is in the making. It will connect the frontend to the backend.

@vercel
Copy link

vercel bot commented Oct 30, 2019

This pull request is being automatically deployed with ZEIT Now (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://zeit.co/iqubex-technologies/adify/6htnto853
🌍 Preview: https://adify-git-pr-apollo-redux-integration.iqubex-technologies.now.sh

For now, use Apollo State Management to manage states
There are few problems. 1. It is not SSR. 2. It won't work in production because of the absolute backend url.
Write NODE_ENV for dev, start and build scripts.
If the deployment is a prod deployment, then the backend uri is '/api/graphql'
The app now renders the backend on the server side
@kumarabhirup
Copy link
Owner Author

The PR no more has a Redux store. At least for now.
See issue: vercel/next.js#9264

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant