Skip to content

Conversation

d-e-v-esh
Copy link
Contributor

This pull request fixes the issue of environment variables not working. All the environment variables in a react project require "REACT_APP" in the beginning of their names for them to work.

Now for the project to work, we need to create a .env file in the root of the project and add a variable to it that would look something like the following:

REACT_APP_PUBLIC_API_URL=http://localhost:4000/graphql

All the environment variables in a react project require "REACT_APP"
in the beginning of their names for them to work.
@netlify
Copy link

netlify bot commented Feb 2, 2023

Deploy Preview for journal-policy-tracker-frontend ready!

Name Link
🔨 Latest commit a2df750
🔍 Latest deploy log https://app.netlify.com/sites/journal-policy-tracker-frontend/deploys/63db2409eb16830008738086
😎 Deploy Preview https://deploy-preview-229--journal-policy-tracker-frontend.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented Feb 2, 2023

Deploy Preview for legendary-faloodeh-5016fa ready!

Name Link
🔨 Latest commit a2df750
🔍 Latest deploy log https://app.netlify.com/sites/legendary-faloodeh-5016fa/deploys/63db24091fbda30008b82857
😎 Deploy Preview https://deploy-preview-229--legendary-faloodeh-5016fa.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@padmajabhol padmajabhol merged commit 3f3811b into codeisscience:development Feb 2, 2023
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.

2 participants