from flask_mongoengine import MongoEngine from flask_cors import CORS db = MongoEngine() cors = CORS()