This is a simple example of Python Flask's usage as a simple "Task Manager" using MongoDB as Database Management System. We are using PyMongo as database connector.
First, you should install MongoDB
then install all dependencies by run the following command:
$ sudo pip install -r requirements.txt
It will install Flask, Flask-WTF, and PyMongo.
To run the program, first you should make sure MongoDB is running, start it using:
$ sudo service mongod start
then, run the program:
$ python run.py
Open your browser and go to localhost:5000
to see the running program.