{"id":20354241,"url":"https://github.com/django-bridge/django-react-cms","last_synced_at":"2025-04-12T02:25:44.860Z","repository":{"id":215350076,"uuid":"738716611","full_name":"django-bridge/django-react-cms","owner":"django-bridge","description":"A Wordpress clone Built with Django and React using Django Bridge","archived":false,"fork":false,"pushed_at":"2025-03-28T21:26:58.000Z","size":298,"stargazers_count":30,"open_issues_count":1,"forks_count":6,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-12T02:25:41.312Z","etag":null,"topics":["django","django-bridge","mui","react"],"latest_commit_sha":null,"homepage":"https://demo.django-render.org","language":"TypeScript","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/django-bridge.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":"2024-01-03T22:03:22.000Z","updated_at":"2025-04-01T02:40:14.000Z","dependencies_parsed_at":"2024-05-18T16:50:05.137Z","dependency_job_id":null,"html_url":"https://github.com/django-bridge/django-react-cms","commit_stats":null,"previous_names":["kaedroho/djreamdemo","kaedroho/djreampress","kaedroho/djangopress","django-bridge/django-react-cms"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/django-bridge%2Fdjango-react-cms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/django-bridge%2Fdjango-react-cms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/django-bridge%2Fdjango-react-cms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/django-bridge%2Fdjango-react-cms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/django-bridge","download_url":"https://codeload.github.com/django-bridge/django-react-cms/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248506413,"owners_count":21115424,"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":["django","django-bridge","mui","react"],"created_at":"2024-11-14T23:07:54.468Z","updated_at":"2025-04-12T02:25:44.840Z","avatar_url":"https://github.com/django-bridge.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Django/React CMS Demo\n\nThis repository contains a clone of Wordpress built with Django and React using [Django Bridge](https://django-bridge.org) to connect them.\n\nThis demonstrates how to build an application with all logic implemented in Django views and React components used for rendering.\n\n[See the demo live here](https://demo.django-render.org)\n\n## Running it\n\nTo get a sense of what Django Bridge is like to develop with, give it a try in one of the following ways.\nI'd recommend editing [one of the frontend views](https://github.com/django-bridge/django-react-cms/blob/main/client/src/views/Home/HomeView.tsx) and see it instantly re-render with your changes!\nOr, if you're more of a backend dev, have a look at the [backend views](https://github.com/django-bridge/django-react-cms/blob/main/server/djangopress/posts/views.py) that supply the data for the frontend views to render.\n\n[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/django-bridge/django-react-cms)\n\n### With Docker compose\n\nThe easiest way to get this up and running is to use `docker compose`, a subcommand of Docker. Make sure you have Docker installed then run:\n\n```\nmake setup\nmake superuser\nmake start\n```\n\nThen Djangopress should be running on [localhost:8000](http://localhost:8000)\n\n### Without Docker compose\n\nIt's possible to run this without docker compose as well, you will need to have Python 11 and Node JS installed locally.\n\nFirst open two terminals.\n\nIn the first terminal, run the following to install and start the Vite server, which builds and serves the built JavaScript code containing the frontend:\n\n```\ncd client\nnpm install\nnpm run dev\n```\n\nThis should start a server at [localhost:5173](http://localhost:5173), there shouldn't be anything here, this will be used by the Django server to fetch freshly built JavaScript.\n\nIn the second terminal, run the following to install Django, create the database, create a user, then start the Django devserver:\n\n```\ncd server\npoetry install\npoetry run python manage.py migrate\npoetry run python manage.py createsuperuser\npoetry run python manage.py runserver\n```\n\nThen Djangopress should be running on [localhost:8000](http://localhost:8000)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjango-bridge%2Fdjango-react-cms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdjango-bridge%2Fdjango-react-cms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjango-bridge%2Fdjango-react-cms/lists"}