Skip to content

Instantly share code, notes, and snippets.

@silvolu
Created March 17, 2018 00:42
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save silvolu/02b642e564b6f6ea9f231b82719e4ff7 to your computer and use it in GitHub Desktop.
Save silvolu/02b642e564b6f6ea9f231b82719e4ff7 to your computer and use it in GitHub Desktop.
Publish Actions on Google V2 apps from self-hosted express
const express = require('express')
const bodyParser = require('body-parser')
const { dialogflow } = require('actions-on-google')
const app = dialogflow()
express().use(bodyParser.json(), app).listen(3000)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment