Make API calls using Socket IO and Express JS