{"id":18293871,"url":"https://github.com/tutorialedge/notification-service","last_synced_at":"2025-04-09T08:18:13.983Z","repository":{"id":65890323,"uuid":"439968534","full_name":"TutorialEdge/notification-service","owner":"TutorialEdge","description":null,"archived":false,"fork":false,"pushed_at":"2023-02-14T22:25:20.000Z","size":3864,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T14:51:24.247Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/TutorialEdge.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":"2021-12-19T21:09:58.000Z","updated_at":"2024-03-27T08:29:37.000Z","dependencies_parsed_at":"2023-02-23T01:16:12.538Z","dependency_job_id":null,"html_url":"https://github.com/TutorialEdge/notification-service","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TutorialEdge%2Fnotification-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TutorialEdge%2Fnotification-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TutorialEdge%2Fnotification-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TutorialEdge%2Fnotification-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TutorialEdge","download_url":"https://codeload.github.com/TutorialEdge/notification-service/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247999867,"owners_count":21031046,"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-05T14:26:28.834Z","updated_at":"2025-04-09T08:18:13.958Z","avatar_url":"https://github.com/TutorialEdge.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Notification Service\n====================\n\nThis service is designed to do 2 things: \n\n* Act as a fully-fledged example of how my REST API course principles can be applied to larger, more monolithic-styled applications\n* Hopefully act as a replacement for TutorialEdge's current email campaign system which costs almost $1,000 a year as it stands.\n\n## Running the Service\n\nTo run the service, you will need `docker` up and running on your machine as well as the `Taskfile` tool:\n\n```bash\n$ export MAILGUN_DOMAIN=yourdomain.com\n$ export MAILGUN_API_KEY=mailgun-api-key\n\n$ task run\n```\n\nThis will start up a Postgres Docker container as well as the application itself.\n\n## Testing the Service\n\n```bash\n# Running the unit tests\n$ task test\n\n# Running the acceptance tests - note: this requires the app to be running locally\n$ task acceptance-test\n```\n\n## Flow\n\n1. Create a List\n2. Create a subscriber\n3. Create a notification\n4. Send a notification with an email\n\n## TODO\n\n* The concept of a list needs to be fleshed out better. Currently subscribers aren't associated\nwith a list - subscribers should belong to 1 or more different lists.\n* Notifications can then be sent to entire lists which could fetch all subscribers under a list\nand send all emails.\n* Notifications can also be sent to individual subscribers so we'll need that distinction.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftutorialedge%2Fnotification-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftutorialedge%2Fnotification-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftutorialedge%2Fnotification-service/lists"}