This is the source code from TradeOK Team on the Symphony Hackathon 2018 in SG/HK/TKY.
The overall purpose is showing the flow from Internal banking system Repo trades to be rolled for the day
and showing this view as an React App in the Symphony Platform 'Client API Extension'.
The more detail overview can be seen on Linked In. https://www.linkedin.com/pulse/symphony-hackathon-2018-sghktky-team-tradeok-justin-woodhead
Below 2 and 3 applications will not really work unles you have access/sll certtificates to develop2 symphony server.
There are basically 3 parts. The trade listeners is port 5000. These 3 services process need to be started in seperate
Please NOTE: recast.ai was brought over by SAP. How long before recast.ai is not free ...maybe not long.
windows.
- Internal System that keeps hold of the updated Trades done (folder westbanksys)
- Symphony Bot which you only can run, if you have been given valid certificates. (folder mybotapp)
- The actual 'cleint API Extension' that runs on Symphony platform. (folder: symapp)
Please note. this may not work if you are behind a firewall.
Install each own packages. symapp has the most packages as it is a GUI, also has been cloned from my past projects
symapp is the merge version of previous react guis built and the 'Hello World' example provided by Symphony 'Client API Extension'.
cd westbanksys
npm install
cd ../
cd mybotapp
npm install
cd ../
cd symapp
npm install
Please note there is a setup_env.bat which sets the DATA_DIR_
DATA_DIR needs to be set for location of json trades files which has 21.
cd westbanksys
.\setup_env.bat
node app
Output should look like : Starts on port 5000.
cd mybotapp
node index
To Start 3. Requires logging onto develop2.symphony.com to load the local app running on **port 4000 **
In your faviourite browser. https://develop2.symphony.com/
cd symapp
npm run watch
open web tab
https://localhost:4000/app.html
https://develop2.symphony.com/client/index.html?bundle=https://localhost:4000/bundle.json
You can now use the APP. in Symphony platform.
Should look like this :-