Cheap Taxi, Telegram Bot (@cheaptaxi_bot)
npm i
cp .env-sample .env
Update your .env
file:
TELEGRAM_TOKEN
- obtain your token
here. Token should look like this:
177081234:AbcdeE3879823SKjwhk2934
STATEFUL_CONNSTR
- Firebase connection string
for stateful objects.
Example:
https://state-test.firebaseio.com/
npm start
IMPORTANT Make sure 127.0.0.1 localhost.firebaseio.test
is specified
in your /etc/hosts
. Look here
for more info.
npm test
Command below will generate documentation based on comments from source code:
npm run esdoc