Telegram bot for university shop operations, enabling students to order products with dormitory delivery. Features role-based access, payment processing, and real-time order tracking.
- Role System:
- π€ Student registration with room details
- π¨βπΌ Admin panel for inventory/order management
- Shopping Experience:
- ποΈ Product catalog browsing with intuitive navigation
- π¦ Order creation with quantity selection
- π Dormitory room delivery
- Payment & Tracking:
- π³ Screenshot-based payment confirmation
- π Real-time order status updates
- π Admin order processing workflow
-
Clone repository
git clone https://github.com/Zebaro24/Check-Point-SHOP.git cd checkpoint-shop-bot -
Configure environment
Create.envfile:DATABASE_URL=postgres://user:password@localhost:5432/shop_db TELEGRAM_TOKEN=your_bot_token_here
-
Install dependencies
python -m venv .venv source .venv/bin/activate # Linux/Mac .venv\Scripts\activate # Windows pip install -r requirements.txt
-
Initialize database
python database.py
python runner.py- Start bot with
/startcommand - Register with room number
- Browse products β Select items β Confirm payment
- Track order status in real-time
- Access admin panel (pre-configured accounts)
- Manage product inventory
- Process orders: Confirm payments β Update statuses β Track deliveries
handlers/
βββ admin_handler.py # Admin commands processing
βββ client_handler.py # Student interactions
βββ base_handler.py # Core handler logic
db_orm/
βββ product.py # Product data model
βββ order.py # Order management
βββ roles.py # User role definitions
config.py # Environment configuration
database.py # DB connection manager
telegram_bot.py # Bot entry point| Student View | Admin Panel |
|---|---|
![]() |
![]() |
![]() |
![]() |
- Developer: Denys Shcherbatyi
- Email: zebaro.work@gmail.com



