Skip to content

Review bot for messaging with customers on Messenger

License

Notifications You must be signed in to change notification settings

iOliverNguyen/rbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Review Bot (rbot)

Review Bot is a chatbot for business owners to connect with their customers using Facebook's Messenger API. It includes:

  • a dashboard for business owners to define their triggers.
  • a backend server serves as a bot with mockup for authentication and other dependency components.

This repository serves as an example of a modern code structure in 2021. It is built with:

Quick Start

Local development

Install Go, Node, Docker, Docker Compose (see Prerequisites). Then run the following commands:

# build backend
cd rbot/be
./scripts/build.sh

# build frontend
cd rbot/apps/board
./scripts/build.sh

# start (in backend dir)
cd rbot/be
./bin/rbot-server -config-file sample-config.yaml

# or use go run
cd rbot/be
go run ./cmd/rbot-server -config-file sample-config.yaml

Then go to localhost:8000.

Development

Watch

cd rbot/apps/board
./scripts/watch.sh

Generate code

cd rbot/be
./scripts/generate-all.sh

Then go to localhost:8080.

Deployment

See Deploy→Production.

Prerequisites

Name Version Install
Go v1.16+ https://golang.org/doc/install
Node v14 LTS https://nodejs.org/en/download/
Docker v20 https://docs.docker.com/get-docker/
Docker Compose v1.29 https://docs.docker.com/compose/install/
Kubernetes v1.19 https://kubernetes.io/docs/tasks/tools/
Helm v3.1 https://helm.sh/docs/intro/install/

Production

TODO

LICENSE

MIT

About

Review bot for messaging with customers on Messenger

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published