first commit
This commit is contained in:
parent
7efc94cbc6
commit
e9b473a197
22
.env
22
.env
@ -1,17 +1,22 @@
|
||||
|
||||
|
||||
DB_URL="mongodb+srv://smellica:Anjefef23dnsfjne@cluster0.c5gfqzm.mongodb.net/"
|
||||
# DB_URL="mongodb+srv://smellica:Anjefef23dnsfjne@cluster0.c5gfqzm.mongodb.net/"
|
||||
# pulseayur Data Connection
|
||||
DB_URL="mongodb+srv://pulseayur:rEF9gYORzKavLeiy@cluster0.vi4tl1l.mongodb.net/"
|
||||
|
||||
# DB_URL="mongodb://localhost:27017/smellica"
|
||||
PORT = 5000
|
||||
JWT_SECRET = jdvnvjwrniwj4562ddsjn6@1xsbfeh@wre4Njdf;
|
||||
|
||||
# mongosh "mongodb+srv://cluster0.vi4tl1l.mongodb.net/" --apiVersion 1 --username pulseayur --password rEF9gYORzKavLeiy
|
||||
JWT_SECRET = jdvnvjwrniwj4562ddsjn6@1xsbfeh@wre4Njdfeefr3;
|
||||
# pulseayur
|
||||
|
||||
# // smellica cloudinary credential
|
||||
CLOUDINARY_NAME = "dnmgivd1x"
|
||||
CLOUDINARY_API_KEY = "877544192441588"
|
||||
CLOUDINARY_API_SECRET = "9paejuSC-fY5b0WoaUuSFURSnvM"
|
||||
# // AyurPulse cloudinary credential
|
||||
CLOUDINARY_NAME = "duqbmh63s"
|
||||
CLOUDINARY_API_KEY = "545993395349868"
|
||||
CLOUDINARY_API_SECRET = "GqzugvVge61dCme8LBELOR2GlOE"
|
||||
WEBHOOK_SECRET_KEY="whsec_m9u7CFBCY1qWarhxq65CkII6egOBf20K"
|
||||
|
||||
# rEF9gYORzKavLeiy
|
||||
# STRIPE_SECRET_KEY="sk_test_51OhPRdSG6gbAOwcEid1GavJ4FTD0ZuHVTferdvJwKal77RlMtFJGBzL5GjtL0ie8ZJztsGjUWi8DWrnw1pDdDRGS005Hk0ahql"
|
||||
# STRIPE_WEBHOOK_SECRET="whsec_dc9b9084fc764c806c8c5c06dd91de1ee809e9c8deab6d56e8e3ef2fc9c30c67"
|
||||
|
||||
@ -21,12 +26,13 @@ RAZERPAY_SECRET_KEY="WFhHbXL7AlLIuull9kKjYiNA"
|
||||
FRONTEND_URL="https://smellika.com"
|
||||
|
||||
|
||||
SEND_EMAIL_FROM="hello@smellika.com"
|
||||
SEND_EMAIL_FROM="pulseayur@gmail.com"
|
||||
#brevo send mail
|
||||
SMPT_HOST="smtp-relay.brevo.com"
|
||||
SMPT_PORT="587"
|
||||
SMPT_MAIL="neonflake.enterprises@gmail.com"
|
||||
SMPT_PASSWORD="ND5sgVnWtrpUFfTb"
|
||||
# xsmtpsib-2bd50b1c4a48fe325b27e5e4a0466441552597b941e6f08104a7f18e0cb10988-hM6ZrJcBRSyDGjga
|
||||
|
||||
PAYPAL_CLIENT_ID="AemCjVuWswklp1sWUo4peCFg9eS4bofMsMR0RCrVRB2DifYR1IUSrWqtHpVmQlrVMKTI2cWZXLJAdYwn"
|
||||
PAYPAL_CLIENT_SECRET="EAo0Y9ff3jpHHg1QAbftdebfh7cb_-vnebhQrP9KALbCVer908yx2tO2eHO39r7EJSfqc4D69Qgx8R31"
|
||||
|
@ -57,13 +57,13 @@ export const registerUser = async (req, res) => {
|
||||
|
||||
from: `${process.env.SEND_EMAIL_FROM}`, // Change to your verified sender
|
||||
|
||||
subject: `Welcome to Smellika - Let the Shopping Begin!`,
|
||||
subject: `Welcome to AyurPulse - Let the Shopping Begin!`,
|
||||
html: ` <h1 style="color: #333; text-align: left; font-family: Arial, sans-serif;">Welcome to ${appName} - Let the Shopping Begin!</h1>
|
||||
<strong style="color: #1b03a3; font-size: 16px"> Hey ${name},</strong>
|
||||
|
||||
<p style="color: #555; font-size: 15px;">
|
||||
|
||||
Welcome to Smellika - Let the Shopping Begin!
|
||||
Welcome to AyurPulse - Let the Shopping Begin!
|
||||
</p>
|
||||
<br/>
|
||||
<p style="color: #555; font-size: 15px;">You can login into :${
|
||||
@ -161,7 +161,7 @@ export const forgotPassword = async (req, res, next) => {
|
||||
|
||||
from: `${process.env.SEND_EMAIL_FROM}`, // Change to your verified sender
|
||||
|
||||
subject: `Smellika Password Recovery`,
|
||||
subject: `AyurPulse Password Recovery`,
|
||||
html: `your new password is: <br/> <strong> ${passwords}</strong><br/><br/>If you have not requested this email then, please ignore it.`,
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user