new api service and logic implemented
This commit is contained in:
10
ApiLayers/AllConfigs/NoSqlDatabase/configs.py
Normal file
10
ApiLayers/AllConfigs/NoSqlDatabase/configs.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from AllConfigs import HostConfig
|
||||
|
||||
|
||||
class MongoConfig:
|
||||
PASSWORD = "mongo_password"
|
||||
USER_NAME = "mongo_user"
|
||||
DATABASE_NAME = "mongo_database"
|
||||
HOST = HostConfig.MAIN_HOST
|
||||
PORT = 11777
|
||||
URL = f"mongodb://{USER_NAME}:{PASSWORD}@{HOST}:{PORT}/{DATABASE_NAME}?retryWrites=true&w=majority"
|
||||
Reference in New Issue
Block a user