proiect finalizat

This commit is contained in:
andrei-mihnea-cerbu
2024-01-13 12:59:19 +02:00
parent 54542da299
commit 67b7a241d7
53 changed files with 321 additions and 19 deletions
@@ -1,4 +1,11 @@
from .connection import MONGODB_CONFIG, MongoDbHandler
mongo_db_handler = MongoDbHandler(**MONGODB_CONFIG)
mongo_db_handler.connect()
mongo_db_handler.connect()
'''
The 'mongodb_database' package contains the definition of the 'MongoDbHandler' class which connects to the MongoDB
database used for storing the messages between the clients.
The object 'mongo_db_handler' is created inside this file and can be used throughout the lifetime of the application
'''