Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sauberr/pizzeria-bot
Simple tg bot, based on Aiogram 3.x. Ordering pizza through telegram
https://github.com/sauberr/pizzeria-bot
aiogram python telegram-bot
Last synced: 27 days ago
JSON representation
Simple tg bot, based on Aiogram 3.x. Ordering pizza through telegram
- Host: GitHub
- URL: https://github.com/sauberr/pizzeria-bot
- Owner: Sauberr
- License: mit
- Created: 2024-06-30T20:34:16.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2024-12-09T22:31:31.000Z (about 1 month ago)
- Last Synced: 2024-12-09T23:29:22.002Z (about 1 month ago)
- Topics: aiogram, python, telegram-bot
- Language: Python
- Homepage:
- Size: 65.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 valuesTOKEN=7765659692:AAG0gyOcBtuFiu2Ab1-9P0YYg0KtYy-tYEW
DB_PG=postgresql+asyncpg://test:tests@localhost:5432/testRun a file called app.
```## License
This project uses the [MIT] license(https://github.com/Sauberr/pizzeria-bot/blob/master/LICENSE)