Contains the chatbot and API functionalities implemented in TypeScript
install with npm or yarn
npm i or yarn install
to create your own instance you must first create a .env
file, containing your own copy of the messenger chatbot app credentials.
below is the template for the file:
PAGE_ACCESS_TOKEN=[your page access token here]
WEBHOOK_VERIFY_KEY=[your webhook verify key here]
start dev environment
npm run dev
run server
npm run start
build application
npm run build
this text command can be use to reset a report:
cancel:report