-
Notifications
You must be signed in to change notification settings - Fork 4
Dotenv
Topi Laanti edited this page May 4, 2018
·
10 revisions
If not already found .env file needs to be created with following information into root of backend:
DB_USERNAME=postgres
DB_PASSWORD=YOURPASSWORD
DB_NAME=mydb
SECRET=MAKEUPYOUROWNSECRET
TOKEN=USETHESECRETTOKEN
ADMIN_PW=something
Frontend .env file has the paths of the backend. You can add different routes depending on the production eviroment
REACT_APP_BACKEND_URL=BACKENDPATH