├── .gitignore ├── LICENSE ├── README.md ├── django_backend ├── __init__.py ├── manage.py ├── package.json ├── project │ ├── __init__.py │ ├── settings.py │ ├── urls.py │ └── wsgi.py ├── requirements.txt ├── templates │ └── account │ │ └── email │ │ └── email_confirmation_message.txt ├── tmp │ └── emails │ │ └── doc.md └── user_profile │ ├── __init__.py │ ├── adapter.py │ ├── admin.py │ ├── apps.py │ ├── migrations │ ├── 0001_initial.py │ └── __init__.py │ ├── models.py │ ├── serializers.py │ ├── tests.py │ └── views.py └── react_frontend ├── .babelrc ├── .eslintignore ├── .eslintrc.json ├── LICENSE.MD ├── package-lock.json ├── package.json ├── src ├── actions │ ├── authActions.js │ └── types.js ├── components │ ├── App.js │ ├── Header.js │ ├── Landing.js │ ├── MainContent.js │ ├── NoMatch.js │ └── auth │ │ ├── AccountActivation.js │ │ ├── Login.js │ │ ├── Logout.js │ │ ├── PasswordChange.js │ │ ├── PasswordReset.js │ │ ├── PasswordResetConfirm.js │ │ ├── PasswordResetDone.js │ │ ├── RequireAuth.js │ │ ├── Signup.js │ │ ├── SignupDone.js │ │ ├── UserProfile.js │ │ └── UserProfileEdit.js ├── constants │ ├── actionTypes.js │ └── urls.js ├── index.html ├── index.js ├── reducers │ ├── authReducer.js │ └── index.js ├── store │ └── index.js ├── styles │ └── style.css └── utils │ ├── authUtils.js │ ├── historyUtils.js │ └── renderUtils.js ├── tests ├── components │ └── app.spec.js └── setup.js └── webpack.config.js /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/README.md -------------------------------------------------------------------------------- /django_backend/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /django_backend/manage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/django_backend/manage.py -------------------------------------------------------------------------------- /django_backend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/django_backend/package.json -------------------------------------------------------------------------------- /django_backend/project/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /django_backend/project/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/django_backend/project/settings.py -------------------------------------------------------------------------------- /django_backend/project/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/django_backend/project/urls.py -------------------------------------------------------------------------------- /django_backend/project/wsgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/django_backend/project/wsgi.py -------------------------------------------------------------------------------- /django_backend/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/django_backend/requirements.txt -------------------------------------------------------------------------------- /django_backend/templates/account/email/email_confirmation_message.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/django_backend/templates/account/email/email_confirmation_message.txt -------------------------------------------------------------------------------- /django_backend/tmp/emails/doc.md: -------------------------------------------------------------------------------- 1 | dir for storing dev emails -------------------------------------------------------------------------------- /django_backend/user_profile/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /django_backend/user_profile/adapter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/django_backend/user_profile/adapter.py -------------------------------------------------------------------------------- /django_backend/user_profile/admin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/django_backend/user_profile/admin.py -------------------------------------------------------------------------------- /django_backend/user_profile/apps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/django_backend/user_profile/apps.py -------------------------------------------------------------------------------- /django_backend/user_profile/migrations/0001_initial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/django_backend/user_profile/migrations/0001_initial.py -------------------------------------------------------------------------------- /django_backend/user_profile/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /django_backend/user_profile/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/django_backend/user_profile/models.py -------------------------------------------------------------------------------- /django_backend/user_profile/serializers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/django_backend/user_profile/serializers.py -------------------------------------------------------------------------------- /django_backend/user_profile/tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/django_backend/user_profile/tests.py -------------------------------------------------------------------------------- /django_backend/user_profile/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/django_backend/user_profile/views.py -------------------------------------------------------------------------------- /react_frontend/.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/react_frontend/.babelrc -------------------------------------------------------------------------------- /react_frontend/.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/react_frontend/.eslintignore -------------------------------------------------------------------------------- /react_frontend/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/react_frontend/.eslintrc.json -------------------------------------------------------------------------------- /react_frontend/LICENSE.MD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/react_frontend/LICENSE.MD -------------------------------------------------------------------------------- /react_frontend/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/react_frontend/package-lock.json -------------------------------------------------------------------------------- /react_frontend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/react_frontend/package.json -------------------------------------------------------------------------------- /react_frontend/src/actions/authActions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/react_frontend/src/actions/authActions.js -------------------------------------------------------------------------------- /react_frontend/src/actions/types.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /react_frontend/src/components/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/react_frontend/src/components/App.js -------------------------------------------------------------------------------- /react_frontend/src/components/Header.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/react_frontend/src/components/Header.js -------------------------------------------------------------------------------- /react_frontend/src/components/Landing.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/react_frontend/src/components/Landing.js -------------------------------------------------------------------------------- /react_frontend/src/components/MainContent.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/react_frontend/src/components/MainContent.js -------------------------------------------------------------------------------- /react_frontend/src/components/NoMatch.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/react_frontend/src/components/NoMatch.js -------------------------------------------------------------------------------- /react_frontend/src/components/auth/AccountActivation.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/react_frontend/src/components/auth/AccountActivation.js -------------------------------------------------------------------------------- /react_frontend/src/components/auth/Login.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/react_frontend/src/components/auth/Login.js -------------------------------------------------------------------------------- /react_frontend/src/components/auth/Logout.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/react_frontend/src/components/auth/Logout.js -------------------------------------------------------------------------------- /react_frontend/src/components/auth/PasswordChange.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/react_frontend/src/components/auth/PasswordChange.js -------------------------------------------------------------------------------- /react_frontend/src/components/auth/PasswordReset.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/react_frontend/src/components/auth/PasswordReset.js -------------------------------------------------------------------------------- /react_frontend/src/components/auth/PasswordResetConfirm.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/react_frontend/src/components/auth/PasswordResetConfirm.js -------------------------------------------------------------------------------- /react_frontend/src/components/auth/PasswordResetDone.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/react_frontend/src/components/auth/PasswordResetDone.js -------------------------------------------------------------------------------- /react_frontend/src/components/auth/RequireAuth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/react_frontend/src/components/auth/RequireAuth.js -------------------------------------------------------------------------------- /react_frontend/src/components/auth/Signup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/react_frontend/src/components/auth/Signup.js -------------------------------------------------------------------------------- /react_frontend/src/components/auth/SignupDone.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/react_frontend/src/components/auth/SignupDone.js -------------------------------------------------------------------------------- /react_frontend/src/components/auth/UserProfile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/react_frontend/src/components/auth/UserProfile.js -------------------------------------------------------------------------------- /react_frontend/src/components/auth/UserProfileEdit.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/react_frontend/src/components/auth/UserProfileEdit.js -------------------------------------------------------------------------------- /react_frontend/src/constants/actionTypes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/react_frontend/src/constants/actionTypes.js -------------------------------------------------------------------------------- /react_frontend/src/constants/urls.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/react_frontend/src/constants/urls.js -------------------------------------------------------------------------------- /react_frontend/src/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/react_frontend/src/index.html -------------------------------------------------------------------------------- /react_frontend/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/react_frontend/src/index.js -------------------------------------------------------------------------------- /react_frontend/src/reducers/authReducer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/react_frontend/src/reducers/authReducer.js -------------------------------------------------------------------------------- /react_frontend/src/reducers/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/react_frontend/src/reducers/index.js -------------------------------------------------------------------------------- /react_frontend/src/store/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/react_frontend/src/store/index.js -------------------------------------------------------------------------------- /react_frontend/src/styles/style.css: -------------------------------------------------------------------------------- 1 | /*define styles here*/ -------------------------------------------------------------------------------- /react_frontend/src/utils/authUtils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/react_frontend/src/utils/authUtils.js -------------------------------------------------------------------------------- /react_frontend/src/utils/historyUtils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/react_frontend/src/utils/historyUtils.js -------------------------------------------------------------------------------- /react_frontend/src/utils/renderUtils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/react_frontend/src/utils/renderUtils.js -------------------------------------------------------------------------------- /react_frontend/tests/components/app.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/react_frontend/tests/components/app.spec.js -------------------------------------------------------------------------------- /react_frontend/tests/setup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/react_frontend/tests/setup.js -------------------------------------------------------------------------------- /react_frontend/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZachLiuGIS/reactjs-auth-django-rest/HEAD/react_frontend/webpack.config.js --------------------------------------------------------------------------------