{"id":16419532,"url":"https://github.com/devmahmud/django_react_social_login","last_synced_at":"2025-09-18T22:34:30.778Z","repository":{"id":39825086,"uuid":"477417510","full_name":"devmahmud/django_react_social_login","owner":"devmahmud","description":"Social login(Facebook, Google) demonstration in Django Rest Framework \u0026 React JS","archived":false,"fork":false,"pushed_at":"2023-02-15T18:16:21.000Z","size":866,"stargazers_count":16,"open_issues_count":10,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-07T05:40:58.263Z","etag":null,"topics":["django-react-social-login","django-rest-auth","django-rest-social-auth","django-social-auth","react-social-login"],"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/devmahmud.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":"2022-04-03T17:38:43.000Z","updated_at":"2024-04-28T22:52:25.000Z","dependencies_parsed_at":"2023-02-19T12:31:15.256Z","dependency_job_id":null,"html_url":"https://github.com/devmahmud/django_react_social_login","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/devmahmud/django_react_social_login","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devmahmud%2Fdjango_react_social_login","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devmahmud%2Fdjango_react_social_login/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devmahmud%2Fdjango_react_social_login/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devmahmud%2Fdjango_react_social_login/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devmahmud","download_url":"https://codeload.github.com/devmahmud/django_react_social_login/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devmahmud%2Fdjango_react_social_login/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275844482,"owners_count":25538992,"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","status":"online","status_checked_at":"2025-09-18T02:00:09.552Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-react-social-login","django-rest-auth","django-rest-social-auth","django-social-auth","react-social-login"],"created_at":"2024-10-11T07:24:43.738Z","updated_at":"2025-09-18T22:34:30.723Z","avatar_url":"https://github.com/devmahmud.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Django React Social Login\n\nThis web-application demonstrates social authentication (Google, Facebook OAuth as an example) with Django Rest Framework and React.\n\n## Installation\n\nChange the directory to core, setup \u0026 activate virtual environment:\n\n```bash\ncd core\npython3 -m venv venv\nsource venv/bin/activate\n```\n\nInstall the backend server dependency:\n\n```bash\npip install -r requirements.txt\n```\n\nMake migrations \u0026 Migrate the db:\n\n```bash\npython manage.py makemigrations\npython manage.py migrate\n```\n\nCreate a superuser:\n\n```bash\npython manage.py createsuperuser\n```\n\nRun the server \u0026 login to http://127.0.0.1:8000/admin :\n\n```bash\npython manage.py runserver\n```\n\nChange/add the domain from SITES then add social application under SOCIAL_ACCOUNTS. You can obtain CLIENT_ID and SECRET_KEY for Google from [https://console.developers.google.com](https://console.developers.google.com) and for Facebook [https://developers.facebook.com/](https://developers.facebook.com/)\n\n### Now it's time to setup the frontend\n\nChange the terminal directory to frontend:\n\n```bash\ncd frontend\n```\n\nChange the **appId** \u0026 **clientId** in src/App.js\n\nInstall the frontend app dependency \u0026 run the application:\n\n```bash\nyarn install\nyarn start\n```\n\nNow you should see two login buttons one for Google login \u0026 another for Facebook.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevmahmud%2Fdjango_react_social_login","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevmahmud%2Fdjango_react_social_login","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevmahmud%2Fdjango_react_social_login/lists"}