DotsFood - telegram bot written with laravel and telegram-bot-sdk https://telegram-bot-sdk.com/. This bot implements the main functions of the telegram bot. Such as sending messages, processing callbacks and commands. The bot communicates with the live api dots platform, simulating the creation of food orders from different parts of Ukraine.
Clone the repository
git clone https://github.com/JuanCote/DotsFood.git
Install all the dependencies using composer
composer install
Copy the example env file and make the required configuration changes in the .env file
cp .env.example .env
Run the database migrations (Set the database connection in .env before migrating)
php artisan migrate
Start the local development server
php artisan serve
To run this project, you will need to add the following environment variables to your .env file
API_TOKEN
API_ACCOUNT_TOKEN
API_AUTH_TOKEN
TELEGRAM_BOT_TOKEN
DOTS_HOST