create account in morolis and generate the stream api
For installing flask
pip install flask,flask_cors
for installing NGrok
npm -g install ngrok
for installing web3packages
pip install web3, web3_input_decoder
deploy backend.py file locally by running the file from vs code or you can python3 backend.py
then run ngrok command to take your backend to internet ngrok http 3000
3000 is the port number where your backend is being deployed locally ,
then Ngrok will provide you a API to interact with your backend