-
Notifications
You must be signed in to change notification settings - Fork 202
ENV variables
Mukesh edited this page Aug 30, 2020
·
8 revisions
create .env
file at root
dir for server and at ./client/
for client.
Keys required at server side: .env.sample
- GOOGLE_RECAPTCHA_SECRET - Read more
Create mongodb instance at mongodb.com or clever-cloud for free.
- MONGO_URI
- MONGO_DB_NAME
- CHAT_LINK_DOMAIN
Server uses this variable to generate link (generateLink), in local dev env this is the url wherewebpack-dev-server
runs the client. Which is usually https://localhost:3000
- IMAGE_BB_API_KEY - Get key from https://api.imgbb.com, this is used to upload images.
Keys required at client side: .env.sample
- REACT_APP_CAPTCHA_KEY - SITE KEY - Read more