Enhance Telegram bot with database integration and API features
- Added SQLite database support with Alembic for migrations. - Implemented FastAPI for HTTP API to manage duties. - Updated configuration to include database URL and HTTP port. - Created entrypoint script for Docker to handle migrations and permissions. - Expanded command handlers to register users and display duties. - Developed a web application for calendar display of duties. - Included necessary Pydantic schemas and SQLAlchemy models for data handling. - Updated requirements.txt to include new dependencies for FastAPI and SQLAlchemy.
This commit is contained in:
@@ -1,2 +1,7 @@
|
||||
python-telegram-bot[job-queue]>=22.0,<23.0
|
||||
python-dotenv>=1.0,<2.0
|
||||
fastapi>=0.115,<1.0
|
||||
uvicorn[standard]>=0.32,<1.0
|
||||
sqlalchemy>=2.0,<3.0
|
||||
alembic>=1.14,<2.0
|
||||
pydantic>=2.0,<3.0
|
||||
|
||||
Reference in New Issue
Block a user