Config file for dotenv in MONGODB

PHOTO EMBED

Sat Aug 28 2021 18:19:48 GMT+0000 (UTC)

Saved by @13tinydots #javascript

// Config is the only access of 'dotenv'

import dotenv from "dotenv";

dotenv.config();

export default {
  port: process.env.PORT || 3000,
  db: process.env.DB_CLIENT_URL,
};
content_copyCOPY