Commit Graph

5 Commits

Author SHA1 Message Date
Yuu Ottosoka
f9ecac94f2 feat: add file storage service and update configurations
refactor: migrate to tsup for builds and update tsconfigs
fix: update error handling and validation in payment service
chore: update package scripts and dependencies
docs: update README and env examples
2025-07-12 16:01:57 +03:00
Yuu Ottosoka
c0c04bbdba feat(bot): add error handling middleware for telegram bot
Add onError middleware to handle and log errors gracefully, providing user feedback when errors occur
2025-07-11 14:03:03 +03:00
Yuu Ottosoka
084b100589 feat: implement payment service with error handling and validation
Add new payment service with repository, error handling, and validation
Add exceptions package with database and validation utilities
Update database package with new schema and zod types
Add turbo start script for development
2025-07-11 13:54:55 +03:00
Yuu Ottosoka
49f0385d00 feat(bot): add session management and user tracking
- Implement Prisma storage adapter for Telegram session management
- Add middleware to upsert Telegram user data
- Extend TelegramUser model with additional fields
- Add db:push command to turbo.json and package.json
- Extend Prisma client with exists helper method
2025-07-09 20:36:07 +03:00
Yuu Ottosoka
71365836d3 feat: add bot and api services with config, logger and database packages
- Add bot service with telegram integration and webhook/polling modes
- Add api service with hono, swagger and zod-openapi
- Create config package for environment variable management
- Create logger package for colored console logging
- Create database package with prisma integration
- Remove next.js web and docs apps
- Update turbo.json for new services
- Add dockerfiles and gitea workflows for deployment
2025-07-08 19:46:08 +03:00