Commit Graph

8 Commits

Author SHA1 Message Date
tiennm99 4bf94aaad4 Add Docker support and environment configuration
Introduced Dockerfile, .dockerignore, and example environment file for containerization. Added compose.yml for Docker Compose setup and renamed docker-compose.dev.yml to compose.dev.yml. Updated build.gradle.kts for Java 21 and shadow plugin, and improved .gitignore and .gitattributes. Refactored Config.java to reorder ENV initialization.
2025-11-04 21:18:28 +07:00
tiennm99 b3cc35b4c2 Integrate Telegram bot with command support
Replaces the previous TelegramBots dependency with the new telegrambots-client, extensions, and longpolling modules. Adds StoreScrapeBot with command handling, including a stub AddGroupCommand, and updates Main to start the bot. Config is extended to support bot credentials and admin IDs, and CouchbaseUtil is simplified to remove example code.
2025-10-30 21:38:39 +07:00
tiennm99 9bde4fcecd Refactor models and add repository layer
Refactored Admin, AppleApp, GoogleApp, and Group models to extend AbstractModel and use Lombok's @Getter/@Setter. Introduced repository classes for Admin, AppleApp, GoogleApp, and Group, each mapping to a specific collection. Added Env enum and updated Config and AbstractRepository to support environment-based scoping.
2025-10-29 21:12:16 +07:00
tiennm99 3c6d51ffc0 Add abstract model and repository base classes
Introduces AbstractModel and AbstractRepository to provide base classes for data models and repository operations. These classes establish common fields, Couchbase integration, and generic CRUD methods to streamline future model and repository implementations.
2025-10-28 20:40:11 +07:00
tiennm99 44d4b94aef feat: db 2025-10-26 09:58:08 +07:00
tiennm99 35e88de99a feat(api): init 2025-10-26 09:19:36 +07:00
tiennm99 4add2ee5a2 chore: init 2025-10-26 00:06:05 +07:00
Tien Nguyen Minh 0efd277edb Initial commit 2025-10-26 00:02:49 +07:00