from pymongo import MongoClient
client = MongoClient("mongodb://localhost:27017")
db = client["pos_system"]
def get_db():
return db