Skip to content

Latest commit

 

History

History
62 lines (43 loc) · 1.47 KB

README.md

File metadata and controls

62 lines (43 loc) · 1.47 KB

NodeJS ExpressJS ES6 Socket.io npm HTML5,CSS3 and JS

Description

Simple Voice AI Bot with Web Speech API

Installation:

You need to have installed NodeJS with npm


Configuration env file

You need to create an .env file in the project root with the following environment variables configured:

  • Port:

    PORT=3000
    
  • Api token:

    APIAI_TOKEN=XXXXXX
    
  • Api AI Session:

    APIAI_SESSION_ID='random_string'
    

    If you have problems with HTTPS, SSL or TLS you can use:

  • NODE_TLS_REJECT:

    NODE_TLS_REJECT_UNAUTHORIZED=0
    

To install all dependecies:

npm install

To run the server:

$ npm start

To obtain the API.ai apikey go here


Source: @girliemac