record things. give them meaning. aggregate unique results.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
api
client
.dockerignore
.editorconfig
.gitignore
README.md

README.md

record things. give them meaning. aggregate unique results.

requirements

  • node 7 (, i guess)
  • wit.ai account with access token

setup

configure environment variables for development with docker

cp api/config.template.json api/config.env

now set the configuration options in api/config.env.

configure environment variables for development without docker

cp api/config.template.json api/config.json

now set the configuration options in api/config.json.

api development

with docker

cd api
docker-compose up

without docker

start a mongodb instance

mongod
cd api
npm i
WIT_API_TOKEN=[YOUR_WIT_API_TOKEN] npm start

test

WIT_API_TOKEN=[YOUR_WIT_API_TOKEN] npm t

web app development

cd client
npm i
npm start