Skip to content

ENV variables

Mukesh edited this page Oct 2, 2020 · 8 revisions

ENV variables for Dev

create .env file at root dir for server.

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

Clone this wiki locally