diff --git a/backend/config/.env b/backend/config/.env new file mode 100644 index 0000000..2991abd --- /dev/null +++ b/backend/config/.env @@ -0,0 +1,20 @@ +PORT = 5000 +DB_LINK ="mongodb+srv://faizyabahmad112233:JTkcBIs71qtMB182@cluster0.2j0zgtd.mongodb.net/" +NODE_ENV = production +JWT_SECRET = +JWT_EXPIRE = 5d +COOKIE_EXPIRE = 5 +SMTP_HOST=smtp.gmail.com +SMTP_PORT=465 +SMTP_SERVICE = gmail +SMTP_MAIL = +SMTP_PASSWORD = +SMTP_PASS = +CLOUDINARY_NAME = deibibtbo +API_KEY = 261417549335778 +API_SECRET = 5tnv3JqacDzSD0HrVDkg3QTH7Os +CLOUDINARY_URL=cloudinary://261417549335778:5tnv3JqacDzSD0HrVDkg3QTH7Os@deibibtbo +FRONTEND_URL = http://localhost:3000 +STRIPE_API_KEY = +STRIPE_SECRET_KEY = + diff --git a/frotend/src/component/DisplayMoney/DisplayMoney.js b/frotend/src/component/DisplayMoney/DisplayMoney.js index 030cf20..4429c53 100644 --- a/frotend/src/component/DisplayMoney/DisplayMoney.js +++ b/frotend/src/component/DisplayMoney/DisplayMoney.js @@ -1,8 +1,8 @@ // dispaly Money In indian Formate export const dispalyMoney = function(num) { - const numFormate = new Intl.NumberFormat("en-IN", { + const numFormate = new Intl.NumberFormat("en-PK", { style: "currency", - currency: "INR", + currency: "PKR", }); const arr = numFormate.format(num).split(".", 1);