{"id":21365008,"url":"https://github.com/altinn/altinn-notifications-sms","last_synced_at":"2025-07-01T14:06:34.495Z","repository":{"id":217637830,"uuid":"679629979","full_name":"Altinn/altinn-notifications-sms","owner":"Altinn","description":"Microservice for sending sms","archived":false,"fork":false,"pushed_at":"2025-06-26T14:31:32.000Z","size":202,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-06-26T15:31:00.425Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Altinn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-08-17T09:10:08.000Z","updated_at":"2025-06-26T14:31:36.000Z","dependencies_parsed_at":"2024-02-22T10:45:14.797Z","dependency_job_id":"b1d4373b-8619-4a8f-99c9-039cd4e20b66","html_url":"https://github.com/Altinn/altinn-notifications-sms","commit_stats":null,"previous_names":["altinn/altinn-notifications-sms"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Altinn/altinn-notifications-sms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Altinn%2Faltinn-notifications-sms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Altinn%2Faltinn-notifications-sms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Altinn%2Faltinn-notifications-sms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Altinn%2Faltinn-notifications-sms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Altinn","download_url":"https://codeload.github.com/Altinn/altinn-notifications-sms/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Altinn%2Faltinn-notifications-sms/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262978585,"owners_count":23394009,"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":[],"created_at":"2024-11-22T07:08:53.643Z","updated_at":"2025-07-01T14:06:34.445Z","avatar_url":"https://github.com/Altinn.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# altinn-notifications-sms\n\nThis component handles the functionality related to sending an sms through Altinn Notifications.\n\n## Project organization\nThis is a backend WebAPI solution written in .NET / C# following the clean architecture principles.\nThe solution is into three projects, each with their associated test project.\n\n### Altinn.Notifications.Sms\nThe API layer that consumes services provided by _Altinn.Notifications.Sms.Core_\n\nRelevant implementations:\n- Program.cs\n\n### Altinn.Notifications.Sms.Core\nThe domain and application layer that implements the business logic of the system.\n\nRelevant implementations:\n- Interfaces for external dependencies implemented by infrastructure layer\n- Domain models\n- Services for handling sending of sms\n\n\n### Altinn.Notifications.Sms.Integrations\nThe infrastructure layer that implements the interfaces defined in _Altinn.Notifications.Sms.Core_ for integrations towards 3rd-party libraries and systems.\n\nRelevant implementations:\n- Client for integrating with sms service\n\n## Getting started\n\n## Getting started\n\n1. [.NET 9.0 SDK](https://dotnet.microsoft.com/download/dotnet/9.0)\n2. Newest [Git](https://git-scm.com/downloads)\n3. A code editor - we like [Visual Studio Code](https://code.visualstudio.com/download)\n   - Also install [recommended extensions](https://code.visualstudio.com/docs/editor/extension-marketplace#_workspace-recommended-extensions) (e.g. [C#](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csharp))\n4. [Podman](https://podman.io/) or another container tool such as Docker Desktop\n\n### Cloning the application\n\nClone [Altinn Notifications Sms repo](https://github.com/Altinn/altinn-notifications-sms) and navigate to the folder.\n\n```bash\ngit clone https://github.com/Altinn/altinn-notifications-sms\ncd altinn-notifications-sms\n```\n\n### Setting up Kafka broker and visualization\n\nEnsure that Docker and Podman are installed and is running.\n\nIn a terminal navigate to the root of this repository\nand run command `podman compose -f setup-kafka.yml up -d`\n\nKafdrop is now available at http://localhost:9000.\n\n### Set up credentials for the SMS Gateway\n\nIf you need working end to end functionality when working on\nNotifications Sms the connection to Link Mobility's SMS gateway needs to be set up.\n\nWe recommend settings it up as a user secret with the commands below.\n\n```\ncd src Altinn.Notifications.Sms\ndotnet user-secrets init\ndotnet user-secrets set \"SmsGatewaySettings:Username\" \"insert-username\"\ndotnet user-secrets set \"SmsGatewaySettings:Password\" \"insert-password\"\ndotnet user-secrets set \"SmsDeliveryReportSettings:Username\" \"insert-username\"\ndotnet user-secrets set \"SmsDeliveryReportSettings:Password\" \"insert-password\"\n```\n\n\n### Running the application with .NET\n\nThe Notifications SMS component can be run locally when developing/debugging. Follow the install steps above if this has not already been done.\n\n- Navigate to _src/Altinn.Notifications.Sms_, and build and run the code from there, or run the solution using you selected code editor\n\n  ```cmd\n  cd src/Altinn.Notifications.Sms\n  dotnet run\n  ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faltinn%2Faltinn-notifications-sms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faltinn%2Faltinn-notifications-sms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faltinn%2Faltinn-notifications-sms/lists"}