my question is more about setting up and adding data. I am making the first project with Mongo DB on VS Code and can not find solution what to do next. Google said Instal Cosmos DB, so I did but what next? Does it talk to Flask already? I am lost, need help from someone who works on Flask and MongoDB on VSCode! Feel like an idiot now!
from flask import Flask
from flask_pymongo import PyMongo
app = Flask(__name__)
app.config["MONGO_URI"] = "mongodb://localhost:27017/"
mongo = PyMongo(app)
from cocktails.main.views import main
app.register_blueprint(main)



MONGO_URIin your example code) would be a cloud URI with credentials rather thanlocalhost: Connect to Cosmos DB. I would look for a tutorial to get started as this is a broader question than just configuring a connection. Also note that CosmosDB is an emulation of MongoDB and does differ in features and behaviour. If you are new to MongoDB I would consider using a service like MongoDB Atlas so all of the expected features are available.