-
Notifications
You must be signed in to change notification settings - Fork 197
ENV variables
Mukesh edited this page Oct 2, 2020
·
8 revisions
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 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.