/django_react_routing

CRA inside Django, with routing

Primary LanguageTypeScript

Demo

End goal

  • React running inside Django, with create-react-app (CRA).
    • Frontend and backend served from the same domain.
    • Run frontend on port 3000 with hot-reloading and all CRA features working nicely.
    • Run full app on port 8000 after running yarn build.
  • Django routing and React Router playing nicely together.
    • Redirects work.
    • Subroutes work.
  • Login page created using Django.
  • APIs using SessionAuthentication.
  • Project is Docker -ised.