July 2019
Beginner to intermediate
302 pages
9h 38m
English
There are many extensions available to use Flask with MongoDB. We will use Flask-MongoEngine, as it provides a good level of abstraction, which makes it easy to understand. It can be installed using the following command:
$ pip3 install flask-mongoengine
Remember to run the MongoDB server for the connection to happen. For more details on installing and running MongoDB, refer to http://docs.mongodb.org/manual/installation/.