/ScoopsAhoyChatBot

A Scoops Ahoy page with a friendly chat-bot.

Primary LanguageJavaScript

ScoopsAhoyChatBot

Build Status

Live Link: https://scoopsahoy.herokuapp.com

Tech used

  • Express
  • Twilio Chat API
  • FourSquare Places API
  • SASS
  • Heroku

Installation

Clone this repo, then install all packages, and finally setup .env

git clone https://github.com/josuerojasrojas/ScoopsAhoyChatBot.git
cd ScoopsAhoyChatBot
npm install
cp .env.example .env

Open .env in your favorite text editor and configure the following values.

Config Value Description
TWILIO_ACCOUNT_SID Your primary Twilio account identifier - find this in the console here.
TWILIO_API_KEY Used to authenticate - generate one here.
TWILIO_API_SECRET Used to authenticate - just like the above, you'll get one here.
client_id FourSquare api id - Places API
client_secret FourSquare api secret - Places API

Run/Dev

To run in dev, this will build the sass and run nodemon with sass watcher

npm run start-dev

To just run without building just do npm start in the project folder

npm start

Note: this will not build sass, which is needed for the front end (you can run npm run sass-build before to prevent errors)