-
Language: Python 3.8
-
Frameworks & Libraries: Flask, Flask-SocketIO, MongoDB
-
Key Directories:
common_utils
: Utility functions and shared resources.models
: Database models and schemas.modules
: Modular components handling specific functionalities.project_pay2world
: Core logic pertaining to the Pay2World project.static
&templates
: Front-end assets and HTML templates.views
: Route handlers and view functions.
-
Entry Points:
create_app.py
: Application factory for initializing the Flask app.app_pay2w.py
: Main application script.manage.py
: Script for managing application tasks.
-
Configuration Files:
requirements.txt
: List of Python dependencies..gitignore
: Specifies files and directories to be ignored by Git.
- Telegram Bot Integration: Handles user interactions via Telegram.
- Web Interface: Provides a web-based interface for administrative tasks or user interactions.
- Real-time Communication: Utilizes Socket.IO for real-time updates and notifications.
- Database Management: Employs MongoDB for storing and retrieving data.
- Modular Architecture: Structured in a way that promotes scalability and maintainability.([GitHub][1])
-
Clone the Repository:
git clone https://github.com/aimaster-dev/p2w_bk_telegram_bot.git cd p2w_bk_telegram_bot
-
Create a Virtual Environment:
python3.8 -m venv venv source venv/bin/activate
-
Install Dependencies:
pip install -r requirements.txt
-
Configure Environment Variables: Set up necessary environment variables for Flask, MongoDB, and Telegram API tokens.
-
Initialize the Database: Ensure MongoDB is running and accessible.
-
Run the Application:
python manage.py run
This project is licensed under the MIT License.