Install dependencies:
npm install
Create .env
file with next variables:
TINKOFF_SANDBOX_API_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
BOT_TOKEN=qwerty123
Initialize local SQLite database:
npm run db-update
Run robot in development mode:
npm run dev
or
run in production mode:
npm run start
You can check robot local database by running
npm run db-browse
We have Postman workspace for testing robots.
Generate class diagram:
tplant --input lib/**/*.ts --output docs/class-diagram.puml