A skeleton API server on flask over mongodb