Skip to content

Latest commit

 

History

History
68 lines (43 loc) · 1.95 KB

README.md

File metadata and controls

68 lines (43 loc) · 1.95 KB

MeduBot

MeduBotCover

About

Participants

Siddhant Rai - siiddhantt

Prashant Singh - PrashantS360

Description

MeduBot provides an integration between your Medusajs-based backend/store and Telegram. It is a python implementation to use a telegram bot as a store-manager/admin.

Backend

https://github.com/siiddhantt/digimart-medusa-backend

Backend-Deployed

https://digimart-medusa-backend.herokuapp.com

Preview

A sample bot is hosted on Heroku with it's username on telegram being @medusajs_bot.

MeduBotPreview.mp4

Features

  • Easily link your Medusa server by addng it's url in the host field
  • Add new APIs to extend further upon the current build
  • Functions to get products, orders, product by ID, order by ID, etc
  • Auth endpoint to automatically authorise the admin

Set up Project

Prerequisites

Before you start with the tutorial make sure you have

Install Project

  1. Clone the repository:
git clone https://github.com/siiddhantt/medubot
  1. Edit the 'credentials.py' file in telebot and add the values to the corresponding fields.

image

  1. Host the bot on cloud platform like Heroku

  2. Start using your bot by seaching the bot's username in telegram and typing /start

Resources