├── .gitignore ├── README.md ├── backend ├── .env.sample ├── .gitignore ├── Dockerfile ├── gunicorn.conf.py ├── railway.json ├── requirements.dev.txt ├── requirements.txt └── src │ ├── cfehome │ ├── __init__.py │ ├── api.py │ ├── asgi.py │ ├── installed.py │ ├── settings.py │ ├── urls.py │ ├── views.py │ └── wsgi.py │ ├── helpers │ ├── __init__.py │ ├── api │ │ ├── __init__.py │ │ ├── auth │ │ │ ├── __init__.py │ │ │ ├── controllers.py │ │ │ ├── permissions.py │ │ │ └── schemas.py │ │ └── users │ │ │ ├── __init__.py │ │ │ └── schemas.py │ └── dotenv │ │ ├── __init__.py │ │ └── loader.py │ ├── manage.py │ ├── requirements │ ├── dev.in │ └── prod.in │ ├── staticfiles │ └── .git-keep │ └── templates │ └── .git-keep ├── compose.yaml ├── frontend ├── .env.sample ├── .gitignore ├── Dockerfile ├── Dockerfile.demo ├── components.json ├── eslint.config.mjs ├── jsconfig.json ├── next.config.mjs ├── package-lock.json ├── package.json ├── postcss.config.mjs ├── public │ ├── django-nextjs-favicon.png │ ├── django-nextjs-text.svg │ ├── django-nextjs.svg │ ├── file.svg │ ├── globe.svg │ ├── login.png │ ├── signup.png │ └── window.svg ├── railway.demo.json ├── railway.json └── src │ ├── app │ ├── api │ │ ├── [...path] │ │ │ └── route.js │ │ ├── backend │ │ │ └── healthz │ │ │ │ └── route.js │ │ ├── health │ │ │ └── route.js │ │ ├── login │ │ │ └── route.js │ │ ├── logout │ │ │ └── route.js │ │ └── signup │ │ │ └── route.js │ ├── favicon.ico │ ├── globals.css │ ├── healthz │ │ └── route.js │ ├── layout.js │ ├── login │ │ └── page.jsx │ ├── logout │ │ └── page.jsx │ ├── page.js │ └── signup │ │ └── page.jsx │ ├── components │ ├── apiProvider.jsx │ ├── authProvider.jsx │ ├── layout │ │ ├── AccountDropdown.jsx │ │ ├── BaseLayout.jsx │ │ ├── BrandLink.jsx │ │ ├── MobileNavbar.jsx │ │ ├── NavLinks.jsx │ │ └── Navbar.jsx │ ├── themeProvider.jsx │ ├── ui │ │ ├── button.jsx │ │ ├── card.jsx │ │ ├── dropdown-menu.jsx │ │ ├── input.jsx │ │ ├── label.jsx │ │ ├── sheet.jsx │ │ ├── table.jsx │ │ └── textarea.jsx │ └── useMySWR.jsx │ └── lib │ ├── auth.js │ ├── fetcher.js │ ├── getApiEndpoint.js │ ├── urlJoin.js │ └── utils.js └── rav.yaml /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/README.md -------------------------------------------------------------------------------- /backend/.env.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/backend/.env.sample -------------------------------------------------------------------------------- /backend/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/backend/.gitignore -------------------------------------------------------------------------------- /backend/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/backend/Dockerfile -------------------------------------------------------------------------------- /backend/gunicorn.conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/backend/gunicorn.conf.py -------------------------------------------------------------------------------- /backend/railway.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/backend/railway.json -------------------------------------------------------------------------------- /backend/requirements.dev.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/backend/requirements.dev.txt -------------------------------------------------------------------------------- /backend/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/backend/requirements.txt -------------------------------------------------------------------------------- /backend/src/cfehome/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /backend/src/cfehome/api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/backend/src/cfehome/api.py -------------------------------------------------------------------------------- /backend/src/cfehome/asgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/backend/src/cfehome/asgi.py -------------------------------------------------------------------------------- /backend/src/cfehome/installed.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/backend/src/cfehome/installed.py -------------------------------------------------------------------------------- /backend/src/cfehome/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/backend/src/cfehome/settings.py -------------------------------------------------------------------------------- /backend/src/cfehome/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/backend/src/cfehome/urls.py -------------------------------------------------------------------------------- /backend/src/cfehome/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/backend/src/cfehome/views.py -------------------------------------------------------------------------------- /backend/src/cfehome/wsgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/backend/src/cfehome/wsgi.py -------------------------------------------------------------------------------- /backend/src/helpers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/backend/src/helpers/__init__.py -------------------------------------------------------------------------------- /backend/src/helpers/api/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /backend/src/helpers/api/auth/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /backend/src/helpers/api/auth/controllers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/backend/src/helpers/api/auth/controllers.py -------------------------------------------------------------------------------- /backend/src/helpers/api/auth/permissions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/backend/src/helpers/api/auth/permissions.py -------------------------------------------------------------------------------- /backend/src/helpers/api/auth/schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/backend/src/helpers/api/auth/schemas.py -------------------------------------------------------------------------------- /backend/src/helpers/api/users/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /backend/src/helpers/api/users/schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/backend/src/helpers/api/users/schemas.py -------------------------------------------------------------------------------- /backend/src/helpers/dotenv/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /backend/src/helpers/dotenv/loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/backend/src/helpers/dotenv/loader.py -------------------------------------------------------------------------------- /backend/src/manage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/backend/src/manage.py -------------------------------------------------------------------------------- /backend/src/requirements/dev.in: -------------------------------------------------------------------------------- 1 | rav -------------------------------------------------------------------------------- /backend/src/requirements/prod.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/backend/src/requirements/prod.in -------------------------------------------------------------------------------- /backend/src/staticfiles/.git-keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /backend/src/templates/.git-keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /compose.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/compose.yaml -------------------------------------------------------------------------------- /frontend/.env.sample: -------------------------------------------------------------------------------- 1 | DJANGO_API_URL=http://localhost:8000/api/ -------------------------------------------------------------------------------- /frontend/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/.gitignore -------------------------------------------------------------------------------- /frontend/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/Dockerfile -------------------------------------------------------------------------------- /frontend/Dockerfile.demo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/Dockerfile.demo -------------------------------------------------------------------------------- /frontend/components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/components.json -------------------------------------------------------------------------------- /frontend/eslint.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/eslint.config.mjs -------------------------------------------------------------------------------- /frontend/jsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/jsconfig.json -------------------------------------------------------------------------------- /frontend/next.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/next.config.mjs -------------------------------------------------------------------------------- /frontend/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/package-lock.json -------------------------------------------------------------------------------- /frontend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/package.json -------------------------------------------------------------------------------- /frontend/postcss.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/postcss.config.mjs -------------------------------------------------------------------------------- /frontend/public/django-nextjs-favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/public/django-nextjs-favicon.png -------------------------------------------------------------------------------- /frontend/public/django-nextjs-text.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/public/django-nextjs-text.svg -------------------------------------------------------------------------------- /frontend/public/django-nextjs.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/public/django-nextjs.svg -------------------------------------------------------------------------------- /frontend/public/file.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/public/file.svg -------------------------------------------------------------------------------- /frontend/public/globe.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/public/globe.svg -------------------------------------------------------------------------------- /frontend/public/login.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/public/login.png -------------------------------------------------------------------------------- /frontend/public/signup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/public/signup.png -------------------------------------------------------------------------------- /frontend/public/window.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/public/window.svg -------------------------------------------------------------------------------- /frontend/railway.demo.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/railway.demo.json -------------------------------------------------------------------------------- /frontend/railway.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/railway.json -------------------------------------------------------------------------------- /frontend/src/app/api/[...path]/route.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/src/app/api/[...path]/route.js -------------------------------------------------------------------------------- /frontend/src/app/api/backend/healthz/route.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/src/app/api/backend/healthz/route.js -------------------------------------------------------------------------------- /frontend/src/app/api/health/route.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/src/app/api/health/route.js -------------------------------------------------------------------------------- /frontend/src/app/api/login/route.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/src/app/api/login/route.js -------------------------------------------------------------------------------- /frontend/src/app/api/logout/route.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/src/app/api/logout/route.js -------------------------------------------------------------------------------- /frontend/src/app/api/signup/route.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/src/app/api/signup/route.js -------------------------------------------------------------------------------- /frontend/src/app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/src/app/favicon.ico -------------------------------------------------------------------------------- /frontend/src/app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/src/app/globals.css -------------------------------------------------------------------------------- /frontend/src/app/healthz/route.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/src/app/healthz/route.js -------------------------------------------------------------------------------- /frontend/src/app/layout.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/src/app/layout.js -------------------------------------------------------------------------------- /frontend/src/app/login/page.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/src/app/login/page.jsx -------------------------------------------------------------------------------- /frontend/src/app/logout/page.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/src/app/logout/page.jsx -------------------------------------------------------------------------------- /frontend/src/app/page.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/src/app/page.js -------------------------------------------------------------------------------- /frontend/src/app/signup/page.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/src/app/signup/page.jsx -------------------------------------------------------------------------------- /frontend/src/components/apiProvider.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/src/components/apiProvider.jsx -------------------------------------------------------------------------------- /frontend/src/components/authProvider.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/src/components/authProvider.jsx -------------------------------------------------------------------------------- /frontend/src/components/layout/AccountDropdown.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/src/components/layout/AccountDropdown.jsx -------------------------------------------------------------------------------- /frontend/src/components/layout/BaseLayout.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/src/components/layout/BaseLayout.jsx -------------------------------------------------------------------------------- /frontend/src/components/layout/BrandLink.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/src/components/layout/BrandLink.jsx -------------------------------------------------------------------------------- /frontend/src/components/layout/MobileNavbar.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/src/components/layout/MobileNavbar.jsx -------------------------------------------------------------------------------- /frontend/src/components/layout/NavLinks.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/src/components/layout/NavLinks.jsx -------------------------------------------------------------------------------- /frontend/src/components/layout/Navbar.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/src/components/layout/Navbar.jsx -------------------------------------------------------------------------------- /frontend/src/components/themeProvider.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/src/components/themeProvider.jsx -------------------------------------------------------------------------------- /frontend/src/components/ui/button.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/src/components/ui/button.jsx -------------------------------------------------------------------------------- /frontend/src/components/ui/card.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/src/components/ui/card.jsx -------------------------------------------------------------------------------- /frontend/src/components/ui/dropdown-menu.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/src/components/ui/dropdown-menu.jsx -------------------------------------------------------------------------------- /frontend/src/components/ui/input.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/src/components/ui/input.jsx -------------------------------------------------------------------------------- /frontend/src/components/ui/label.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/src/components/ui/label.jsx -------------------------------------------------------------------------------- /frontend/src/components/ui/sheet.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/src/components/ui/sheet.jsx -------------------------------------------------------------------------------- /frontend/src/components/ui/table.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/src/components/ui/table.jsx -------------------------------------------------------------------------------- /frontend/src/components/ui/textarea.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/src/components/ui/textarea.jsx -------------------------------------------------------------------------------- /frontend/src/components/useMySWR.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/src/components/useMySWR.jsx -------------------------------------------------------------------------------- /frontend/src/lib/auth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/src/lib/auth.js -------------------------------------------------------------------------------- /frontend/src/lib/fetcher.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/src/lib/fetcher.js -------------------------------------------------------------------------------- /frontend/src/lib/getApiEndpoint.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/src/lib/getApiEndpoint.js -------------------------------------------------------------------------------- /frontend/src/lib/urlJoin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/src/lib/urlJoin.js -------------------------------------------------------------------------------- /frontend/src/lib/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/frontend/src/lib/utils.js -------------------------------------------------------------------------------- /rav.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jmitchel3/django-nextjs/HEAD/rav.yaml --------------------------------------------------------------------------------