This question already has an answer here:
I am trying to make a D'app. But I don't know how to fix this issue of paying gas every time. Do the user or owner need to pay everytime they use the application ? can we make it default gas by some API or code? Please give me a simple example how to make it for the end user.