- Download the
chandru-assignment.zip
file - Unzip
- Open
index.html
- Clone repo
yarn
yarn serve
(oryarn build
and then deploy or serve the built file directly)
- Run the static version OR the app (When you do this the first time, you should see errors in console due to POSTing to http://example.com)
- Go to Local Storage in Dev Tools.
- Find
user
key and change it tointernal-123
- Refresh the app. (Now, in your console, you should see output
{ eventName: string, metaData: object }
)