2 Commits

Author SHA1 Message Date
9a0b41459c feat: add Docker build and push workflow for news service
All checks were successful
Docker Build and Push - News Service / Build and Push News Service Image (push) Successful in 37s
Docker Build and Push - News Service / Build Summary (push) Successful in 0s
2026-04-30 14:49:54 +08:00
3d891d781c feat: initialize news service with core functionality
- Add package.json for project configuration and dependencies.
- Implement NewsApplication class to manage service lifecycle and HTTP pipeline.
- Create CategoryCatalog for managing news categories.
- Introduce ServiceConfig for environment variable management.
- Load environment variables from .env files.
- Develop NewsApiCompatibilityController to mimic NewsAPI endpoints.
- Create NewsController for querying and refreshing news data.
- Establish AbstractJsonRepository for JSON storage operations.
- Implement main entry point in index.js to bootstrap the application.
- Create CategoryNewsRepository for category-specific news storage.
- Add ConsoleLogger for structured logging.
- Implement NewsApiClient for fetching articles from NewsAPI.
- Develop NewsRefreshScheduler for scheduling news refresh tasks.
- Create NewsStorageService to coordinate news data management.
2026-04-30 12:10:00 +08:00