Bild96 / n3rd-stor3

TON Blockchain Web Browser Application.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Durger King

This project is based on the @DurgerKing, and it's about a bot that allows you to order food from restaurants.

You can try this bot at @DurgerKingExampleBot.

Installation

  1. Clone the repository and install the dependencies.
git clone https://github.com/telegram-bot-php/durger-king.git
cd durger-king && composer install
  1. Use .env.example as a template to create a .env file and fill it with your data.
  • TELEGRAM_BOT_TOKEN is the token of your bot, which you can get from @BotFather.
  • ADMIN_CHAT_ID is the chat id of the user that will receive the orders, which you can get from @userinfobot.
  • REMOTE_BASE_PATH the base path of the project, which you can use your domain name or the IP address of the server.
  • REMOTE_URI if source code is not in the root of the domain, you can specify the path here.
  1. Upload project to your server and set the with direct path to the service.php file.

  2. Please make sure that webhook is set correctly.

    • Your webhook should be set to https://<your-domain>/telegram.
  3. Enjoy! 🎉

Links

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

TON Blockchain Web Browser Application.

License:MIT License


Languages

Language:JavaScript 71.5%Language:PHP 23.6%Language:CSS 4.2%Language:Shell 0.6%