Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 748 Bytes

README.md

File metadata and controls

33 lines (23 loc) · 748 Bytes

fb-bot

A test project (actually, this is a webhook) using:

Before you build

  • Create .env with following content:
PAGE_ACCESS_TOKEN='PAGE_ACCESS_TOKEN'
VERIFY_TOKEN='VERIFY_TOKEN'
  • Create controller/config.js with following content:
module.exports = 'APIAI_TOKEN';

I don't know why but include this token in .env doesn't work

Build Setup

# install dependencies
npm install

# build for production with minification
npm run build

# push /build, package.json, package-lock.json to Heroku or any cloud platform