This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import UpgradeClient from 'upgrade_client_lib'; | |
function async SampleAplication() { | |
// construct upgrade client for student1 | |
const userId = "student1"; | |
// set host url | |
const hostUrl = 'http://development-upgrade-experiment-app.eba-gp6psjut.us-east-1.elasticbeanstalk.com'; | |
// Two ways for initializing user |