Answers for "how to make server environment variables available to browser on frontend in node js"

0

how to make server environment variables available to browser on frontend in node js

# in the project's root dir create a file named: ".env" and 
# insert the env variables as follows.
# NB: the env variable name must start with REACT_APP for react js projects
REACT_APP_CLIENT_ID=jfjffffaddfeettgydgdffv
REACT_APP_KEY=aaddddawrfffvvvvssaa
Posted by: Guest on February-11-2021

Code answers related to "how to make server environment variables available to browser on frontend in node js"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language