{"id":24407319,"url":"https://github.com/fintech-lsi/notification-service","last_synced_at":"2026-04-12T17:46:09.811Z","repository":{"id":273280972,"uuid":"909387749","full_name":"Fintech-LSI/notification-service","owner":"Fintech-LSI","description":"A Spring Boot microservice designed to manage notifications within a fintech ecosystem. 📨","archived":false,"fork":false,"pushed_at":"2025-01-23T16:34:53.000Z","size":486,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-13T08:17:23.086Z","etag":null,"topics":["docker","jenkins","maven","sonarqube","spring-boot","test"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Fintech-LSI.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-28T14:55:46.000Z","updated_at":"2025-01-23T16:34:57.000Z","dependencies_parsed_at":"2025-01-20T00:27:28.138Z","dependency_job_id":"4cf8934e-47d1-4b55-a9cc-1958d8aa805b","html_url":"https://github.com/Fintech-LSI/notification-service","commit_stats":null,"previous_names":["fintech-lsi/notification-service"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fintech-LSI%2Fnotification-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fintech-LSI%2Fnotification-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fintech-LSI%2Fnotification-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fintech-LSI%2Fnotification-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Fintech-LSI","download_url":"https://codeload.github.com/Fintech-LSI/notification-service/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243365638,"owners_count":20279215,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","jenkins","maven","sonarqube","spring-boot","test"],"created_at":"2025-01-20T05:05:16.913Z","updated_at":"2025-12-25T18:03:20.199Z","avatar_url":"https://github.com/Fintech-LSI.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📨 Notification Service\n\nA Spring Boot microservice for managing notifications in a fintech ecosystem. 🚀\n\n## 🔍 Overview\n\nThe Notification Service handles:\n\n- 📤 User notification delivery\n\n- ⚙️ Notification preference management\n\n- 🔗 Cross-service user data integration\n\n## 📂 Project Structure\n\n```\nsrc/main/java/com/fintech/notification/\n├── config/                   # Configuration files\n│   └── RestTemplateConfig.java\n├── controller/               # REST controllers\n│   └── NotificationController.java\n├── dto/                      # Data Transfer Objects\n│   ├── NotificationRequest.java\n│   └── NotificationResponse.java\n├── exception/                # Custom exceptions and handlers\n│   └── NotificationException.java\n├── model/                    # Domain entities\n│   └── Notification.java\n├── repository/               # Data repositories\n│   └── NotificationRepository.java\n├── service/                  # Business logic\n│   ├── NotificationService.java\n│   └── UserServiceClient.java\n├── util/                     # Utility classes\n│   └── NotificationUtils.java\n└── NotificationApplication.java\n```\n\n\n## Tech Stack\n\n- **Framework**: Spring Boot\n- **Build Tool**: Maven\n- **Database**: PostgreSQL\n- **Containerization**: Docker\n- **Container Registry**: AWS ECR (Public)\n- **Orchestration**: Kubernetes (EKS)\n- **CI/CD**: Jenkins\n- **Code Quality**: SonarQube\n\n## CI/CD Pipeline\n\nOur CI/CD pipeline ensures reliable and consistent deployments through the following stages:\n\n![CI/CD Pipeline](/images/pipeline-diagram.png)\n\n### Pipeline Stages\n\n1. **Code Checkout**\n    - Triggered by GitHub webhook\n    - Fetches the latest code\n    - Ensures a clean workspace\n\n2. **Static Code Analysis** *(Currently Disabled)*\n    - Uses SonarQube for code quality analysis\n    - Checks for code smells, bugs, security vulnerabilities, and test coverage\n    - Enforces quality gates with a 5-minute timeout\n\n3. **Maven Build**\n    - Compiles the Java source code\n    - Packages the application into a JAR file\n    - Validates project structure and dependencies\n\n4. **Docker Build \u0026 Push**\n    - Creates a Docker image\n    - Authenticates with AWS ECR Public registry\n    - Tags and pushes the image to the registry\n\n5. **EKS Deployment**\n    - Configures kubectl with cluster credentials\n    - Creates or updates the `fintech` namespace\n    - Applies Kubernetes manifests:\n        - ConfigMaps\n        - Secrets\n        - Deployment\n        - Service\n    - Verifies deployment status\n\n### Pipeline Cleanup\n- Removes local Docker images\n- Cleans the workspace\n- Ensures a clean state for future builds\n\n## Deployment\n\nThe service is deployed to AWS EKS using Kubernetes manifests located in the `k8s/` directory:\n- `configmap.yaml`: Environment variables and configurations\n- `secrets.yaml`: Sensitive data (credentials, tokens)\n- `deployment.yaml`: Pod specifications and container settings\n- `service.yaml`: Service exposure and networking\n\n## Getting Started\n\n1. **Prerequisites**\n    - Java 17+\n    - Maven\n    - Docker\n    - AWS CLI\n    - kubectl\n\n2. **Local Development**\n   ```bash\n   # Build the project\n   mvn clean package\n\n   # Run locally\n   mvn spring-boot:run\n   ```\n\n3. **Docker Build**\n   ```bash\n   docker build -t user-service .\n   ```\n\n4. **Deploy to Kubernetes**\n   ```bash\n   # Apply manifests\n   kubectl apply -f k8s/ -n fintech\n   ```\n\n## Monitoring\n\nThe service includes monitoring integration for:\n- Application metrics\n- Performance monitoring\n- Error tracking\n- Resource utilization\n\n## Contributing\n\n1. Fork the repository\n2. Create a feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add some amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n## 👥 Team\n\n| Avatar                                                                                                  | Name | Role | GitHub |\n|---------------------------------------------------------------------------------------------------------|------|------|--------|\n| \u003cimg src=\"https://github.com/zachary013.png\" width=\"50\" height=\"50\" style=\"border-radius: 50%\"/\u003e        | Zakariae Azarkan | DevOps Engineer | [@zachary013](https://github.com/zachary013) |\n| \u003cimg src=\"https://github.com/goalaphx.png\" width=\"50\" height=\"50\" style=\"border-radius: 50%\"/\u003e          | El Mahdi Id Lahcen | Frontend Developer | [@goalaphx](https://github.com/goalaphx) |\n| \u003cimg src=\"https://github.com/hodaifa-ech.png\" width=\"50\" height=\"50\" style=\"border-radius: 50%\"/\u003e       | Hodaifa | Cloud Architect | [@hodaifa-ech](https://github.com/hodaifa-ech) |\n| \u003cimg src=\"https://github.com/khalilh2002.png\" width=\"50\" height=\"50\" style=\"border-radius: 50%\"/\u003e       | Khalil El Houssine | Backend Developer | [@khalilh2002](https://github.com/khalilh2002) |\n| \u003cimg src=\"https://github.com/Medamine-Bahassou.png\" width=\"50\" height=\"50\" style=\"border-radius: 50%\"/\u003e | Mohamed Amine BAHASSOU | ML Engineer | [@Medamine-Bahassou](https://github.com/Medamine-Bahassou) |\n\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffintech-lsi%2Fnotification-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffintech-lsi%2Fnotification-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffintech-lsi%2Fnotification-service/lists"}