A telegram chatbot which will only reply "哈們".
yarn install
There are some environment variables that Hadoor will use:
TOKEN
: Telegram bot's API tokenURL
: Public host name (starts withhttps://
)DB_ENDPOINT
: MongoDB endpoint
In local development:
dotenv
is used, so you can only create a file called.env
in root directory.dotenv
will work as expect.- you may need a free reverse proxy (EX: localtunnel, ngrok) in order to create a public
https://
URL.
For more information about dotenv, visit dotenv.
In production:
yarn start
In development:
yarn dev
Default server will be listening on port 8000.