Commit Graph

10 Commits

Author SHA1 Message Date
Yuu Ottosoka
701e9c0ef8 build(docker): add db:generate step before building
Ensure Prisma client and schemas are generated before building the application to prevent runtime errors
2025-07-12 16:17:39 +03:00
Yuu Ottosoka
8d6fc0c5e9 refactor(database): remove zod generator from prisma schema
The zod generator configuration was removed as it's no longer needed in the project, simplifying the schema file.
2025-07-12 16:16:23 +03:00
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
84760349c0 docs(api): update readme with client description 2025-07-08 19:58:59 +03:00
Yuu Ottosoka
c97bd90372 ci(deploy): add change detection to skip unaffected workflows
Add a new job 'detect-changes' to check modified paths and conditionally run bot/api workflows
2025-07-08 19:56:55 +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
Turbobot
393c175460 feat(create-turbo): apply official-starter transform 2025-07-08 12:54:07 +03:00