Bruce says, Chuck says is a joke screaming waaaaatarrrh!! interactive chatbot.
This project demonstrates various applications of technologies with an interactive joke telling chatbot using Chuck Norris Jokes API.
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-devilbox
stack, N being the graph
database Neo4J which is hosted by GrapheneDB, database as a service. Some
components were borrowed from Trigger.
- 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
- Docker >= v17.09.0
OR
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
TODO
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
- Author of articles mentioned in some code snippets
- Graphics used/obtained from giphy.com, flaticon.com, icomoon.com and the web
- Creators of PHPDocker, Create-React-App
- Resources from Hacknoon, Y.Pereira-Reis, K.Ferguson