Simple Express + Pug app to test the OneSDK
npm install
- Adjust the
.example.env
file to.env
and fill in variables npm run start
This uses node v20.
On a Mac, there are two steps to be able to run this locally on your phone.
- Add your phone's ip to
/etc/hosts
127.0.0.1 <yourPhoneIp>
- Get your mac ip and set in your phone browser (both connected to the same network)
ifconfig | grep "inet " | grep -v 127.0.0.1
With the IP and the port in use for the node app load this on your phone and you should see the app running.