> cd Crypto/
> npm init
> npm install
> node cryptoServer.js
#Server running at http://localhost:8080
> ngrok http 8080
Session Status online
Session Expires 7 hours, 59 minutes
Version 2.3.35
Region United States (us)
Web Interface http://127.0.0.1:4040
Forwarding http://3228d7af.ngrok.io -> http://localhost:8080
Forwarding https://3228d7af.ngrok.io -> http://localhost:8080
Connections ttl opn rt1 rt5 p50 p90
3 0 0.04 0.01 5.01 5.01
After you see the output from ngrok in above step,
-
Copy the forwarding url ( eg: https://3228d7af.ngrok.io) and paste it into LoginView.swift file as URL on line no. 20
-
Launch the app in simulator
-
Input the credentials (username = admin, password = admin )
-
Click login button, you can see the crypto wallet