This is a simple example of Python Flask's usage as a simple "Task Manager". The Database Management System is MongoDB. The python-MongoDB connector is PyMongo.
Note that this forked version modifies to use connection strings instead and tweak library versions and codes to work as of May 2022.
First, you should install MongoDB
then install all dependencies by running 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 (or "flask run" is also fine):
$ python app.py
Open your browser and go to localhost:5000
to see the running program.