Example source code for a Python Flask RESTful API built on MongoDB