Testing app localy and public
Local web server
Start server that can be reached in internet
npm i local-web-server
Ngrok
Make tunnel for your app on some port
npm i ngrok -D
{
"name": "debug",
"version": "1.0.0",
"description": "",
"main": "app.js",
"scripts": {
"tunnel": "ngrok http 8080"
},
"author": "",
"license": "ISC",
"dependencies": {
"actions-on-google": "^2.6.0",
"dialogflow-fulfillment": "^0.6.1",
"express": "^4.16.4"
},
"devDependencies": {
"ngrok": "^3.1.1"
}
}
# opens port in ngrok service to show your app (one console)
npm run tunnel
# launch app (second console)
node app
# go to address that gives ngrok console
← Technologies Loggers →