{"id":22197482,"url":"https://github.com/lovepelmeni/notificationservice","last_synced_at":"2026-04-11T11:01:21.309Z","repository":{"id":120623953,"uuid":"502073558","full_name":"LovePelmeni/NotificationService","owner":"LovePelmeni","description":"Notification App, used for notifications across services to the frontend application ","archived":false,"fork":false,"pushed_at":"2022-06-15T09:18:29.000Z","size":168,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-04T18:49:30.160Z","etag":null,"topics":["django","docker","firebase","nginx","postgres","python"],"latest_commit_sha":null,"homepage":"","language":"Python","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/LovePelmeni.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,"zenodo":null}},"created_at":"2022-06-10T14:29:07.000Z","updated_at":"2023-03-07T04:20:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"0504801c-3819-4ba1-9e72-7ca653fd9e33","html_url":"https://github.com/LovePelmeni/NotificationService","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LovePelmeni/NotificationService","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LovePelmeni%2FNotificationService","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LovePelmeni%2FNotificationService/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LovePelmeni%2FNotificationService/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LovePelmeni%2FNotificationService/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LovePelmeni","download_url":"https://codeload.github.com/LovePelmeni/NotificationService/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LovePelmeni%2FNotificationService/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31677819,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T08:18:19.405Z","status":"ssl_error","status_checked_at":"2026-04-11T08:17:08.892Z","response_time":54,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["django","docker","firebase","nginx","postgres","python"],"created_at":"2024-12-02T14:19:43.013Z","updated_at":"2026-04-11T11:01:21.303Z","avatar_url":"https://github.com/LovePelmeni.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Notification Service\n\n---\n#### docs link: [API Documentation](\"http://localhost:8099/swagger/)\n#### download docs: [JSON API Docs file](\"http://localhost:8099/swagger/json/\")\n\n--- \n\n`Notification Service` - Service, responsible for Notification Delivery,\nUsing Firebase server as notification delivery. (Communicates via HTTP REST and Asynchronous Events via RabbitMQ queues.)\n\n\n## Technologies\n\n`PostgresSQL` as a main database.\n\n`Firebase` as a notification server.\n\n`Django` as a main framework.\n\n`Nginx` as a web server.\n\n`Gunicorn` as a proxy between application and web server.\n\n`RabbitMQ` cluster,  integrated for distributed communication within multiple services.\n\n--- \n\n## Dependencies \n\n`python` - 3.8 or above \n\n`postgressql` - 13.3 or above \n\n`nginx` - latest or less \n\n`Docker` - 1.41 or less\n\n`Docker-Compose` - 3.9 or above\n\n`Firebase` - have a project or create a new one.\n\n## Usage\n\n```bash\n    git clone https://github.com/LovePelmeni/NotificationService.git\n```\n\n#### Make Sure you set up integration points for Firebase\n\n\n1. #### Create New Project if you haven't yet. \n\n   Follow Link: [Create New Firebase Project](\"http://firebase.com/)\n\n---\n2. #### Create File called `certificate.py` in NotificationApp/main dir.\n   #### Create `CERTIFICATE_CREDENTIALS` const and add the payload from the `cert.json` file. \n\n\n```doctest\n   #main/certificate.py\n   \n   CERTIFICATE_CREDENTIALS = {\u003cpayload of the file\u003e}\n\n```\n---\n\n## If Production Mode\n#### Go to the `NotificationApp/project/env_file.env` and set up necessary env variables.\n##### After that run docker compose file in the main directory.\n```doctest\n    docker-compose up -d \n```\n\n---\n\n## If Debug Mode\n\n#### After all procedures that you've made before you need to run.\n   \n```doctest\n   # Directory: NotificationService/NotificationApp/\n   \n   python manage.py makemigrations --database backup_database \n   python manage.py migrate \n   \n   python manage.py makemigrations --database backup_database \n   python manage.py migrate \n   \n   python manage.py runserver\n   \n   \n```\n\n\n## Integration via http\n\n```doctest\n    # api.py\n    \n    import requests \n    SERVICE_HOST = 'APPLICATION DOCKER SERVICE HOST NAME' \n    # if you run it from the other docker container\n    # make sure that the host is going to be a name\n    # of the docker service, \"application\" in the current scenario.\n    # Not \"localhost\"\n    response = requests.get('http://%s:8081/healthcheck/' % SERVICE_HOST)\n    return response.json()\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flovepelmeni%2Fnotificationservice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flovepelmeni%2Fnotificationservice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flovepelmeni%2Fnotificationservice/lists"}