Skip to content
This repository has been archived by the owner on Aug 23, 2020. It is now read-only.
/ brucesays-chucksays Public archive

A Bruce(Lee) says Chuck(Norris) says API that spits out f#@^% all he says... waaaaaAAATAAARHH!!

License

Notifications You must be signed in to change notification settings

daxeh/brucesays-chucksays

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bruce Says, Chuck Says (draft)

Heroku Codeship Status for daxeh/brucesays-chucksays

Bruce says, Chuck says is a joke screaming waaaaatarrrh!! interactive chatbot.

Description

This project demonstrates various applications of technologies with an interactive joke telling chatbot using Chuck Norris Jokes API.

Screenshot

Besides telling Chuck Norris jokes, it can serve as a base project for anyone who wishes to explore in the subject of machine learning or to further understand specifics of user interaction as a natural language by the process of building, training and converting real conversation dialogs to structured data using the algorithms/models that you've develop. This Laravel/ReactJS app is built within a 5-day learning and work exploration and surely there are many opportunities for improvements, suggestions or specific usecase requests, are welcomed.

The made-up tech lingo JAM-N-devilboxstack, N being the graph database Neo4J which is hosted by GrapheneDB, database as a service. Some components were borrowed from Trigger.

Technology
Components &
Services
=== JAM-N-devilbox
  • Ubuntu 16.04
  • Nginx 1.8.1
  • ReactJS 16.1.1
  • Laravel 5.5
  • PHP 7.1
  • ES6 / Babel
  • Redis 3.2.9 / Predis TODO
  • Neo4J / neo4j-php-client / GrapheneDB TODO
  • Pusher
  • Docker
}=

Milestone Summary

  • Stage 0: Setup development enviroment (CD)
  • Stage 1: Configure build + deployment pipelines (CI/CD)
  • Stage 2: API + User Interface Design (UX/UCD)
  • Stage 3: Leaderboard Features TODO Redis/Graphene
  • Release: Demo

Requirements

OR

Quick Start

Make use of the convinience makefile;

make install
make start

Or <TODO: replace development with production steps>

Manage package managers and docker separately by doing the following;

The two makefile commands above achieves the equivalant

  • package installation (composer, npm)
  • docker composer and sync
  • npm build
composer install
yarn install
yarn run dev

docker volume create --name=app_sync
docker-compose -f docker-compose-dev.yml up -d
docker-sync start

Then open http://localhost:8000 to view application.


To remove mounted volumes and containers.

make stop

Or

docker-sync stop
docker-compose down

Testing

TODO

Troubleshoot

ErrorException (E_ERROR) The Mix manifest does not exist.

Ensure that ./webpack.mix.js mix is set to react.

mix.react('resource..., 'public/js')
    .sass('resource..., 'public/jcss');

Execute Laravel React preset which configures and scaffolds view, build to React

yarn add babel-preset-react -D

yarn install && yarn run dev

No implicit conversion from nil to integer (TypeError) docker-sync/watch_strategy/unison.rb:30:in `kill'

The issue with docker-sync stop is documented here #356

Credits


About

A Bruce(Lee) says Chuck(Norris) says API that spits out f#@^% all he says... waaaaaAAATAAARHH!!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published