{"id":17259506,"url":"https://github.com/muneeb706/notion-sample-integration","last_synced_at":"2026-02-10T19:07:06.156Z","repository":{"id":231974968,"uuid":"783094228","full_name":"muneeb706/notion-sample-integration","owner":"muneeb706","description":"Sample proejct to understand Notion integration into Monolith React and Django application.","archived":false,"fork":false,"pushed_at":"2024-04-30T05:45:34.000Z","size":630,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-28T07:36:26.073Z","etag":null,"topics":["codecov","cypress","django","django-allauth","github-actions","notion-api","notion-database","reactjs"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/muneeb706.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-06T23:27:26.000Z","updated_at":"2024-04-30T05:50:44.000Z","dependencies_parsed_at":"2024-04-30T07:07:48.614Z","dependency_job_id":"a3ac2c2a-7839-485d-908e-47ca21f47a6f","html_url":"https://github.com/muneeb706/notion-sample-integration","commit_stats":null,"previous_names":["muneeb706/notes-agg","muneeb706/notion-sample-integration"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/muneeb706/notion-sample-integration","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muneeb706%2Fnotion-sample-integration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muneeb706%2Fnotion-sample-integration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muneeb706%2Fnotion-sample-integration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muneeb706%2Fnotion-sample-integration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/muneeb706","download_url":"https://codeload.github.com/muneeb706/notion-sample-integration/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muneeb706%2Fnotion-sample-integration/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29313093,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-10T17:48:59.043Z","status":"ssl_error","status_checked_at":"2026-02-10T17:45:37.240Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["codecov","cypress","django","django-allauth","github-actions","notion-api","notion-database","reactjs"],"created_at":"2024-10-15T07:45:17.153Z","updated_at":"2026-02-10T19:07:06.099Z","avatar_url":"https://github.com/muneeb706.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Notion Sample Integration\n\nSample project to understand how notion can be integrated into Monolith React and Django application.\n\n- Login and Register with Notion is implemented using [django-allauth](https://docs.allauth.org/en/latest/index.html) package.\n\n- [Notion query database API](https://developers.notion.com/reference/post-database-query) is integrated to fetch all pages within given database.\n\n## Testing\n\nCypress is used for e2e frontend testing and Django tests pacakge is used for testing backend.\n\nTesting is automated via GitHub Actions and code coverage report is integrated with \n[Codecov](https://about.codecov.io/codecov-free-trial/?utm_source=google\u0026utm_medium=cpc\u0026utm_campaign=Google_Search_Brand_USCA_SignUp_Alpha\u0026utm_content=g\u0026utm_term=codecov\u0026gclid=Cj0KCQjwir2xBhC_ARIsAMTXk86Jx9SIT23on23OjgAGKc5bK5sg_tutRvciJbrOzHXIwGtRYGFmAWgaAmpcEALw_wcB\u0026utm_id=%7B20554362434%7D\u0026gad_source=1\u0026gclid=Cj0KCQjwir2xBhC_ARIsAMTXk86Jx9SIT23on23OjgAGKc5bK5sg_tutRvciJbrOzHXIwGtRYGFmAWgaAmpcEALw_wcB)\n\nTo run test with Cypress enter following command in core/static/core directory:\n```\nyarn cy:run-e2e\n```\nFor Django tests:\n```\ncoverage run manage.py test core/tests\n```\n\n## Pre-requisites\n\n1. Create [public integration in Notion](https://developers.notion.com/docs/create-a-notion-integration) to integrate with django-allauth.\n1. Create [internal integration in Notion](https://developers.notion.com/docs/create-a-notion-integration) to invoke Database query API.\n    - Connect this integration with your Notion database.\n\n## Configuration\n1. Update [SOCIALACCOUNT_PROVIDERS](https://docs.allauth.org/en/latest/socialaccount/provider_configuration.html) settings with client id and secret.\n2. Update NOTION_READING_LIST_DB_ID with database id.\n3. Update NOTION_SECRET settings with internal integration token.\n\n\n## How to run this locally\n1. Clone this repo.\n2. Install requirements\n    ```\n    pip install -r requirements.dev.txt\n    ```\n3. Migrate models\n    ```\n    python manage.py migrate\n    ```\n4. Run\n    ```\n    python manage.py runserver localhost:8000\n    ```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuneeb706%2Fnotion-sample-integration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmuneeb706%2Fnotion-sample-integration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuneeb706%2Fnotion-sample-integration/lists"}