Skip to content

ENV variables

Mukesh edited this page Aug 30, 2020 · 8 revisions

ENV variables for Dev

create .env file at root dir for server and at ./client/ for client.

Keys required at server side: .env.sample


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 where webpack-dev-server runs the client. Which is usually https://localhost:3000


Keys required at client side: .env.sample

  • REACT_APP_CAPTCHA_KEY - SITE KEY - Read more
Clone this wiki locally