1//create .env file and use prefix "REACT_APP_" infront of variable name
2//for example
3REACT_APP_TOKEN=abcdefghijklmnopqrstuvwxyz
4
5// inside react file simple call it by
6process.env.REACT_APP_TOKEN
7
8//if your react server was running before creation of .env and restart it.