/py-mongo

Primary LanguagePython

Python-FastAPI-MongoDB

Steps to Run:

  • Create a virtualenv
  • Install all the requirements using the command pip install -r requirements.txt
  • Run the command uvicorn index:app --reload which opens a server at port: localhost:8000
  • (or) Open localhost:8000/docs where you will be getting a Documentation kind of thing for the API which has the UI of Swagger and easy to interact with the API.
  • (or) Use Postman for testing the API.
  • Try all the CRUD Operations