In the project directory, you can run:
1.run script npm install
2.create .env
and .env.local
files
3.fill .env
file with :
REACT_APP_APIKEY=
REACT_APP_AUTHDOMAIN=
REACT_APP_DATABASEURL=
REACT_APP_PROJECTID=
REACT_APP_STORAGEBUCKET=
REACT_APP_MESSAGINGSENDERID=
REACT_APP_APPID=
REACT_APP_MEASUREMENT_ID=
REACT_APP_DATABASE_URL=
REACT_APP_DATABASE_NAME=
REACT_APP_DATABASE_PWD=
REACT_APP_HOST_NAME=
REACT_APP_PORT=
REACT_APP_TOKEN_KEY=
4.fill .env.local
file with and firebase and mongodb setting :
REACT_APP_APIKEY=<...>
REACT_APP_AUTHDOMAIN=<...>
REACT_APP_DATABASEURL=<...>
REACT_APP_PROJECTID=<...>
REACT_APP_STORAGEBUCKET=<...>
REACT_APP_MESSAGINGSENDERID=<...>
REACT_APP_APPID=<...>
REACT_APP_MEASUREMENT_ID=<...>
REACT_APP_DATABASE_URL=<...>
REACT_APP_DATABASE_NAME=<...>
REACT_APP_DATABASE_PWD=<...>
REACT_APP_HOST_NAME=<...>
REACT_APP_PORT=<...>
REACT_APP_TOKEN_KEY=<...>