to create an application:
- create a .env file, put the variables PORT, APIKEY, APISECRET
- comment out the import and put null the vals of config.json and application.json in nexmoApp/src.js, index.js, nexmoApp/router.js and put null in those variables
- create the request, POST create application, only need the application name {"name":"yourAppName"} in the body, but can input capabilities too
- once successfull, uncomment the imports of config and application.json in nexmoApp/src.js, index.js, nexmoApp/router.js
To work with npe:
- update the var npe with the npe name in constants.js and utils/callingNexmo.js
- comment out the import of config.json and application.json in nexmoApp/src.js, index.js, nexmoApp/router.js and put null in those variables
- create the request, POST create application, no need authorization or name
- once successfull, uncomment the imports of config and application.json