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,12 @@
from .connection import POSTGRESQL_CONFIG, PostgreSQLHandler
postgresql_db_handler = PostgreSQLHandler(**POSTGRESQL_CONFIG)
postgresql_db_handler.connect()
postgresql_db_handler.connect()
'''
The 'postgresql_database' package contains the definition of the 'PostgreSQlHandler' class which connects to the MongoDB
database used for storing information about the users and the existing chats
The object 'postgresql_db_handler' is created inside this file and can be used throughout the lifetime
of the application
'''