Can i see sample extension frontend and backend?

Yes, you’ll have to write an EBS, host it somewhere, and then perform web requests like @BarryCarlyon mentioned. For example, here’s my setup:

  • Flask script (Python) that can receive web requests, hosted on Amazon
  • HTML file for frontend that contains elements that can display the received data
  • JS file that contains the logic for the web requests

How it works for me (during testing):

  1. I open the HTML page, which triggers a JS function asking for streamer information
  2. The JS function makes a GET request to my EBS, the Flash script
  3. The Flask script receives the GET request, sees that it ask for streamer information
  4. Executes a function that gets the streamer information from my database, and returns that as a response to the web request.
  5. The JS function that was called gets the streamer information as a response
  6. It updates the HTML elements to show that information