What Is the Best Way to Manage Environment Variables Across the Frontend and Backend in a Full-Stack Application? #901
-
|
What Is the Best Way to Manage Environment Variables Across the Frontend and Backend in a Full-Stack Application? |
Beta Was this translation helpful? Give feedback.
Answered by
Dilusha-Ranasingha
Nov 26, 2025
Replies: 1 comment
-
|
in the backend use the.env for environment variables, |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
methmal99
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
in the backend use the.env for environment variables,
do not add in to the gihub like that ..
use when REACT_APP_ in React, VITE_ in Vite.
ans also secrets only on the server keep that.