import dotenv from 'dotenv' ; dotenv . config ( ) ; export const DATABASE_URL = process . env . DATABASE_URL || 'mongodb://localhost:27017/Vita' ; export const GOOGLE_KEY = { clientID : process . env . GOOGLE_KEY_CLIENTID ! , clientSecret : process . env . GOOGLE_KEY_CLIENTSECRET ! , } ; export const PROD = JSON . parse ( process . env . PROD || 'false' ) ; export const port = parseInt ( < string > process . env . PORT ) || 5000 ; export const SERVER_URL = process . env . SERVER_URL || 'http://localhost:5000' ; export const CLIENT_URL = process . env . CLIENT_URL || 'http://localhost:3000' ; export const COOKIE_KEYS = [ process . env . COOKIE_KEYS ! ] ;