{"id":20601991,"url":"https://github.com/bessouat40/django-react-integration","last_synced_at":"2025-08-29T06:22:05.340Z","repository":{"id":164901850,"uuid":"640320222","full_name":"Bessouat40/django-react-integration","owner":"Bessouat40","description":null,"archived":false,"fork":false,"pushed_at":"2023-05-17T19:37:40.000Z","size":929,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-06T16:21:49.353Z","etag":null,"topics":["beginner-friendly","beginner-project","django","django-react-integration","python","reactjs","tutorial"],"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/Bessouat40.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":"2023-05-13T17:36:49.000Z","updated_at":"2024-01-08T17:24:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"f492aa24-c00b-41a1-8f19-567a906a3352","html_url":"https://github.com/Bessouat40/django-react-integration","commit_stats":null,"previous_names":["bessouat40/django-react-integration"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Bessouat40/django-react-integration","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bessouat40%2Fdjango-react-integration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bessouat40%2Fdjango-react-integration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bessouat40%2Fdjango-react-integration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bessouat40%2Fdjango-react-integration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Bessouat40","download_url":"https://codeload.github.com/Bessouat40/django-react-integration/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bessouat40%2Fdjango-react-integration/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272641119,"owners_count":24968801,"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-08-29T02:00:10.610Z","response_time":87,"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":["beginner-friendly","beginner-project","django","django-react-integration","python","reactjs","tutorial"],"created_at":"2024-11-16T09:12:41.643Z","updated_at":"2025-08-29T06:22:05.316Z","avatar_url":"https://github.com/Bessouat40.png","language":"Python","readme":"# Use react components in a Django site\n\n## Installation\n\nYou first need to create your Django site and your react app inside it :\n\n```bash\ndjango-admin startproject django_react\ncd django_react\nnpx create-react-app react-app\n```\n\n### Build react app\n\nNow you need to build your react app to generate static files :\n\n```bash\ncd react-app\nnpm run build\n```\n\n### Run your Django server\n\nYou're ready to start your Django site :\n\n```bash\ncd ..\npython manage.py runserver\n```\n\n## React app modification\n\nEvery time you change your react app code, you need to generate your new static files.\nGo inside your react app folder and remove your build folder.\n\n```bash\nnpm run build\n```\n\n## Ressource\n\nYOUTUBE video : `https://www.youtube.com/watch?v=FhkqMHxchZ8`\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbessouat40%2Fdjango-react-integration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbessouat40%2Fdjango-react-integration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbessouat40%2Fdjango-react-integration/lists"}