IntelligentTrading / telegram-bot

Intelligent Trading Technologies | Telegram Bot
MIT License
3 stars 2 forks source link

telegram bot skeleton in branch refactor-js #1

Closed tomcounsell closed 6 years ago

tomcounsell commented 6 years ago

User Story Link: N/A

Description and Context

A Telegram Bot will be the first and only user interface for the ITT service. The features and capabilities of this bot will grow quickly over the coming months. It is therefore important to have a suitable environment and server host. Also good code organization and DRY principles should be used to maintain the velocity of adding new features.

Possible Implementation

Written in JS and hosted via Google Cloud Functions. The Serverless Framework: serverless.com This example code might be a good place to start: https://github.com/carlo-colombo/serverless-telegram-bot-gc-functions

Refactor Branch

Use the refactor-js branch for development

Environment

Brbb commented 6 years ago

1/2h average each .py file (mostly one function each, I'm planning to keep concerns separate the same way mostly) 1.5h Google and Files setup (really raw, it might be shorter)

Total 8h

tomcounsell commented 6 years ago

The current version is not using Serverless Framework - instead it runs on a cloud instance (single server). Your setup to deploy onto Cloud Functions will be new experience that I think is the right direction but you may run into challenges during setup.

Brbb commented 6 years ago

You are right, at this point maybe 1 day (8h) Severless Framework setup and test, 8h refactoring, 8h test + issues + bug fix