You are on page 1of 5

WWF Alerts Development v1.

WWF Alerts Development v1.0


Verification Guide

Revision History
Author Revision Number Date
TCSCODER 1.0 12/20/2016

TopCoder, Inc. 2016 Page 1 of 5


WWF Alerts Development v1.0

1. Verification
Follow backend deployment guide to deploy Web API. Make sure to execute TestData.sql.
Follow the steps from the Readme.md to startup the web site.
Navigate to http://localhost:3000/ and Login, use admin / 123 as credentials.
Note: Your hosting address can be different depending on your deployment settings.
1.1 Navigate to Query List: http://localhost:3000/adminprofile

You should see existing alerts configuration:

1.2 To retrieve alerts for all countries and commodities, you should clear the values from Country
Code(s) and Commodity Code(s) fields. You can also adjust netweight and volume percentage fields:

TopCoder, Inc. 2016 Page 2 of 5


WWF Alerts Development v1.0

1.3 Then click Save. You should see confirmation popup:

1.4 To reload data from Vertica, click Load From Vertica button and confirm that you are ok to delete
existing Alerts. Note that when both commodity and country codes are empty, data for all records will
be retrieved and analyzed, so it will take few minutes, as there are hundreds of thousands of
records. It takes approximately 2-3 minutes on my development PC. Will be significantly faster when
Vertica server is in the same data center.

1.5 Once complete, you should see notification that operation succeeded:

1.6 Now you can navigate to Alerts Search page http://localhost:3000/alertsearch:

TopCoder, Inc. 2016 Page 3 of 5


WWF Alerts Development v1.0

1.7 Enter some search criteria:

1.8 Click Run Query, and scroll below to see results:

TopCoder, Inc. 2016 Page 4 of 5


WWF Alerts Development v1.0

1.9 Click on Year header to sort by Year.

1.10 Click on Details button to see visualized details (e.g. first record):

1.11 Switch to Map view:

TopCoder, Inc. 2016 Page 5 of 5

You might also like