flask --app app run
- Create a new cluster in MongoDB.
- Connect via MongoDb Compass GUI.
- Add password variable in .env
- Copy connection string from MongoDB to VS code.
- in BSON format similar to JSON
- allows frequent updates
- performs faster performance and scale easily
- Structure:
- Database # Cluster contains database
- Collections # Each database contains a number of collections
- Documents # Stores KEY and VALUE pair per unique ID
SSL: CERTIFICATE_VERIFY_FAILED
- addedtlsCAFile=certifi.where()
in connection string. documentation
flask --app <app name> run --debug