├── README.md ├── backend ├── .gitignore ├── accounts │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ ├── admin.cpython-37.pyc │ │ ├── models.cpython-37.pyc │ │ ├── serializers.cpython-37.pyc │ │ ├── urls.cpython-37.pyc │ │ └── views.cpython-37.pyc │ ├── admin.py │ ├── apps.py │ ├── migrations │ │ ├── __init__.py │ │ └── __pycache__ │ │ │ └── __init__.cpython-37.pyc │ ├── models.py │ ├── serializers.py │ ├── tests.py │ ├── urls.py │ └── views.py ├── manage.py ├── requirements.txt ├── session_auth │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ ├── settings.cpython-37.pyc │ │ ├── urls.cpython-37.pyc │ │ └── wsgi.cpython-37.pyc │ ├── asgi.py │ ├── settings.py │ ├── urls.py │ └── wsgi.py └── user_profile │ ├── __init__.py │ ├── __pycache__ │ ├── __init__.cpython-37.pyc │ ├── admin.cpython-37.pyc │ ├── models.cpython-37.pyc │ ├── serializers.cpython-37.pyc │ ├── urls.cpython-37.pyc │ └── views.cpython-37.pyc │ ├── admin.py │ ├── apps.py │ ├── migrations │ ├── 0001_initial.py │ ├── __init__.py │ └── __pycache__ │ │ ├── 0001_initial.cpython-37.pyc │ │ └── __init__.cpython-37.pyc │ ├── models.py │ ├── serializers.py │ ├── tests.py │ ├── urls.py │ └── views.py └── frontend ├── .env ├── .gitignore ├── README.md ├── package-lock.json ├── package.json ├── public ├── favicon.ico ├── index.html ├── logo192.png ├── logo512.png ├── manifest.json └── robots.txt ├── src ├── App.js ├── actions │ ├── auth.js │ ├── profile.js │ └── types.js ├── components │ ├── CSRFToken.js │ └── Navbar.js ├── containers │ ├── Dashboard.js │ ├── Home.js │ ├── Login.js │ └── Register.js ├── hocs │ ├── Layout.js │ └── PrivateRoute.js ├── index.js ├── reducers │ ├── auth.js │ ├── index.js │ └── profile.js └── store.js └── yarn.lock /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/README.md -------------------------------------------------------------------------------- /backend/.gitignore: -------------------------------------------------------------------------------- 1 | venv 2 | build 3 | -------------------------------------------------------------------------------- /backend/accounts/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /backend/accounts/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/backend/accounts/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /backend/accounts/__pycache__/admin.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/backend/accounts/__pycache__/admin.cpython-37.pyc -------------------------------------------------------------------------------- /backend/accounts/__pycache__/models.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/backend/accounts/__pycache__/models.cpython-37.pyc -------------------------------------------------------------------------------- /backend/accounts/__pycache__/serializers.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/backend/accounts/__pycache__/serializers.cpython-37.pyc -------------------------------------------------------------------------------- /backend/accounts/__pycache__/urls.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/backend/accounts/__pycache__/urls.cpython-37.pyc -------------------------------------------------------------------------------- /backend/accounts/__pycache__/views.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/backend/accounts/__pycache__/views.cpython-37.pyc -------------------------------------------------------------------------------- /backend/accounts/admin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/backend/accounts/admin.py -------------------------------------------------------------------------------- /backend/accounts/apps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/backend/accounts/apps.py -------------------------------------------------------------------------------- /backend/accounts/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /backend/accounts/migrations/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/backend/accounts/migrations/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /backend/accounts/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/backend/accounts/models.py -------------------------------------------------------------------------------- /backend/accounts/serializers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/backend/accounts/serializers.py -------------------------------------------------------------------------------- /backend/accounts/tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/backend/accounts/tests.py -------------------------------------------------------------------------------- /backend/accounts/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/backend/accounts/urls.py -------------------------------------------------------------------------------- /backend/accounts/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/backend/accounts/views.py -------------------------------------------------------------------------------- /backend/manage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/backend/manage.py -------------------------------------------------------------------------------- /backend/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/backend/requirements.txt -------------------------------------------------------------------------------- /backend/session_auth/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /backend/session_auth/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/backend/session_auth/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /backend/session_auth/__pycache__/settings.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/backend/session_auth/__pycache__/settings.cpython-37.pyc -------------------------------------------------------------------------------- /backend/session_auth/__pycache__/urls.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/backend/session_auth/__pycache__/urls.cpython-37.pyc -------------------------------------------------------------------------------- /backend/session_auth/__pycache__/wsgi.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/backend/session_auth/__pycache__/wsgi.cpython-37.pyc -------------------------------------------------------------------------------- /backend/session_auth/asgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/backend/session_auth/asgi.py -------------------------------------------------------------------------------- /backend/session_auth/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/backend/session_auth/settings.py -------------------------------------------------------------------------------- /backend/session_auth/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/backend/session_auth/urls.py -------------------------------------------------------------------------------- /backend/session_auth/wsgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/backend/session_auth/wsgi.py -------------------------------------------------------------------------------- /backend/user_profile/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /backend/user_profile/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/backend/user_profile/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /backend/user_profile/__pycache__/admin.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/backend/user_profile/__pycache__/admin.cpython-37.pyc -------------------------------------------------------------------------------- /backend/user_profile/__pycache__/models.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/backend/user_profile/__pycache__/models.cpython-37.pyc -------------------------------------------------------------------------------- /backend/user_profile/__pycache__/serializers.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/backend/user_profile/__pycache__/serializers.cpython-37.pyc -------------------------------------------------------------------------------- /backend/user_profile/__pycache__/urls.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/backend/user_profile/__pycache__/urls.cpython-37.pyc -------------------------------------------------------------------------------- /backend/user_profile/__pycache__/views.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/backend/user_profile/__pycache__/views.cpython-37.pyc -------------------------------------------------------------------------------- /backend/user_profile/admin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/backend/user_profile/admin.py -------------------------------------------------------------------------------- /backend/user_profile/apps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/backend/user_profile/apps.py -------------------------------------------------------------------------------- /backend/user_profile/migrations/0001_initial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/backend/user_profile/migrations/0001_initial.py -------------------------------------------------------------------------------- /backend/user_profile/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /backend/user_profile/migrations/__pycache__/0001_initial.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/backend/user_profile/migrations/__pycache__/0001_initial.cpython-37.pyc -------------------------------------------------------------------------------- /backend/user_profile/migrations/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/backend/user_profile/migrations/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /backend/user_profile/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/backend/user_profile/models.py -------------------------------------------------------------------------------- /backend/user_profile/serializers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/backend/user_profile/serializers.py -------------------------------------------------------------------------------- /backend/user_profile/tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/backend/user_profile/tests.py -------------------------------------------------------------------------------- /backend/user_profile/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/backend/user_profile/urls.py -------------------------------------------------------------------------------- /backend/user_profile/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/backend/user_profile/views.py -------------------------------------------------------------------------------- /frontend/.env: -------------------------------------------------------------------------------- 1 | REACT_APP_API_URL = 'http://localhost:8000' -------------------------------------------------------------------------------- /frontend/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/frontend/.gitignore -------------------------------------------------------------------------------- /frontend/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/frontend/README.md -------------------------------------------------------------------------------- /frontend/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/frontend/package-lock.json -------------------------------------------------------------------------------- /frontend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/frontend/package.json -------------------------------------------------------------------------------- /frontend/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/frontend/public/favicon.ico -------------------------------------------------------------------------------- /frontend/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/frontend/public/index.html -------------------------------------------------------------------------------- /frontend/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/frontend/public/logo192.png -------------------------------------------------------------------------------- /frontend/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/frontend/public/logo512.png -------------------------------------------------------------------------------- /frontend/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/frontend/public/manifest.json -------------------------------------------------------------------------------- /frontend/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/frontend/public/robots.txt -------------------------------------------------------------------------------- /frontend/src/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/frontend/src/App.js -------------------------------------------------------------------------------- /frontend/src/actions/auth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/frontend/src/actions/auth.js -------------------------------------------------------------------------------- /frontend/src/actions/profile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/frontend/src/actions/profile.js -------------------------------------------------------------------------------- /frontend/src/actions/types.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/frontend/src/actions/types.js -------------------------------------------------------------------------------- /frontend/src/components/CSRFToken.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/frontend/src/components/CSRFToken.js -------------------------------------------------------------------------------- /frontend/src/components/Navbar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/frontend/src/components/Navbar.js -------------------------------------------------------------------------------- /frontend/src/containers/Dashboard.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/frontend/src/containers/Dashboard.js -------------------------------------------------------------------------------- /frontend/src/containers/Home.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/frontend/src/containers/Home.js -------------------------------------------------------------------------------- /frontend/src/containers/Login.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/frontend/src/containers/Login.js -------------------------------------------------------------------------------- /frontend/src/containers/Register.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/frontend/src/containers/Register.js -------------------------------------------------------------------------------- /frontend/src/hocs/Layout.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/frontend/src/hocs/Layout.js -------------------------------------------------------------------------------- /frontend/src/hocs/PrivateRoute.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/frontend/src/hocs/PrivateRoute.js -------------------------------------------------------------------------------- /frontend/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/frontend/src/index.js -------------------------------------------------------------------------------- /frontend/src/reducers/auth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/frontend/src/reducers/auth.js -------------------------------------------------------------------------------- /frontend/src/reducers/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/frontend/src/reducers/index.js -------------------------------------------------------------------------------- /frontend/src/reducers/profile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/frontend/src/reducers/profile.js -------------------------------------------------------------------------------- /frontend/src/store.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/frontend/src/store.js -------------------------------------------------------------------------------- /frontend/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linkedweb/session_auth/HEAD/frontend/yarn.lock --------------------------------------------------------------------------------