Skip to content

Final code push, added log that saves locally, improved duplicate handling#202

Open
JetRam wants to merge 11 commits intoDataBytes-Organisation:mainfrom
JetRam:jethro-ramos-IGA-specials-and-catalogue
Open

Final code push, added log that saves locally, improved duplicate handling#202
JetRam wants to merge 11 commits intoDataBytes-Organisation:mainfrom
JetRam:jethro-ramos-IGA-specials-and-catalogue

Conversation

@JetRam
Copy link
Contributor

@JetRam JetRam commented Sep 21, 2025

No description provided.

@shishirdhakal123
Copy link
Collaborator

Resolved merge conflicts.

@shishirdhakal123 shishirdhakal123 self-requested a review September 26, 2025 00:39
Comment on lines +6 to +8
client = MongoClient(
'mongodb+srv://discountmate_read_and_write:discountmate@discountmatecluster.u80y7ta.mongodb.net/?retryWrites=true&w=majority&appName=DiscountMateCluster'
)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sensitive credentials are exoposed. Please use environment variables instead of hardcoding username and password in the connection string.

Comment on lines +19 to +20
def setup_mongo():
client = MongoClient("mongodb+srv://discountmate_read_and_write:discountmate@discountmatecluster.u80y7ta.mongodb.net/?retryWrites=true&w=majority&appName=DiscountMateCluster")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sensitive credentials are exoposed. Please use environment variables instead of hardcoding username and password in the connection string.

sys.exit()

# MongoDB database and collection
client = MongoClient("mongodb+srv://discountmate_read_and_write:discountmate@discountmatecluster.u80y7ta.mongodb.net/?retryWrites=true&w=majority&appName=DiscountMateCluster")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sensitive credentials are exoposed. Please use environment variables instead of hardcoding username and password in the connection string.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants