Projet EPSI - Chatbot
Talk to the bot
npm install cp .env.sample .env vim .env # Fill TOKEN variable.
This project use StandardJS as linter with a pre-commit hook.
To configure text editor, see this link.
To run linter :
npm run lint
To run linter with auto-fix :
npm run lint:fix
Create a bot
Bot (local development)
It is recommended to have a separate test bot account from your production bot so that you don't get 2 answers each time you talk to the bot.
WEBHOOK_URL and run application with
Then, you'll need a reverse proxy (such as nginx or caddy for example) to proxy request from
WEBOOK_URL to your application.