const { google } = require('googleapis'); require('dotenv').config(); // OAuth2 setup with your credentials from .env file const CLIENT_ID = process.env.CLIENT_ID; const CLIENT_SECRET = process.env.CLIENT_SECRET; const REDIRECT_URI = process.env.REDIRECT_URI; // Google OAuth2 client const oAuth2Client = new google.auth.OAuth2(CLIENT_ID, CLIENT_SECRET, REDIRECT_URI); module.exports = { oAuth2Client };