App example for nRF Connect

I would like to develop some app to be able to use nRF51 dongle on PC. Is there any good example codes to start with? My plan is to use pc-ble-driver-js and Electron and found examples "pc-nrf-connect-boilerplate" and "pc-nrfconnect-rssi" from Nordic Github. But they don't use pc-ble-driver-js and couldn't figure out how to combine them.. I don't mind launching app from nRF Connect for now but my goal is to develop a separate SPA. Is there such example code from Nordic? I guess nRF Connect itself is made this way perhaps but no source codes are found so far. Any information is appreciated. Thank you.