title: Python FAST API framework working with mongodb by using fastapi_contrib
body: <p>I am using fastapi_contrib to interact with the mongodb. I am strugling to use this. <a href="https://pypi.org/project/fastapi-contrib/" rel="nofollow noreferrer">https://pypi.org/project/fastapi-contrib/</a> here there is limited information only..
  could any one send me the guide to working with mongo and fast api. I am written a code normally like creating connection and using that in all the urls.
  after installing fastapi_contrib got an idea to follow constructively. but the document not helping much.</p>
  
  <p>The stack overflow answer: <a href="https://stackoverflow.com/questions/57562804/mongodb-with-fastapi">MongoDb with FastAPI</a>.
  Not using fast_contrib.</p>