Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sauberr/pizzeria_bot

Simple pizzeria bot written by aiogram 3
https://github.com/sauberr/pizzeria_bot

aiogram python telegram-bot

Last synced: about 1 month ago
JSON representation

Simple pizzeria bot written by aiogram 3

Awesome Lists containing this project

README

        

# Pizzeria bot
Telegram bot for ordering pizza 🍕 (Python, Aiogram 3.x) is a bot with an intuitive menu, filters, and payment directly in Telegram. It offers convenient navigation and pagination for viewing the menu, admin panel where you can CRUD product, category, banner and captcha for spam protection. You will be able to quickly order and pay for pizza, conveniently find what you need, and be confident in the security of the process. This project demonstrates the capabilities of Aiogram 3.x and async for creating effective Telegram bots.

#### Stack:

- [Python](https://www.python.org/downloads/)
- [PostgreSQL](https://www.postgresql.org/)
- [Aiogram](https://docs.aiogram.dev/en/latest/)

## Local Developing

All actions should be executed from the source directory of the project and only after installing all requirements.

1. Firstly, create and activate a new virtual environment:
```bash
python3.12 -m venv ../venv
source ../venv/bin/activate
```

2. Install packages:
```bash
pip install --upgrade pip
pip install -r requirements.txt
```

3. Install database:
```
For production Postgresql
For local Sqlite3
```

## Run application

```
Example env values

TOKEN=7765659692:AAG0gyOcBtuFiu2Ab1-9P0YYg0KtYy-tYEW
DB_PG=postgresql+asyncpg://test:tests@localhost:5432/test

Run a file called app.
```