├── .gitignore ├── package.json ├── pnpm-lock.yaml ├── postcss.config.cjs ├── prerender.ts ├── public └── favicon.ico ├── src ├── app │ ├── app.client.tsx │ ├── app.css │ ├── app.tsx │ ├── components │ │ └── ui │ │ │ ├── button.tsx │ │ │ ├── checkbox.tsx │ │ │ ├── global-loader.tsx │ │ │ ├── input.tsx │ │ │ ├── select.tsx │ │ │ ├── sidebar.tsx │ │ │ ├── textarea.tsx │ │ │ └── validated-form.tsx │ ├── global-actions.ts │ ├── lib │ │ └── utils.ts │ ├── login │ │ ├── login.client.tsx │ │ ├── login.shared.ts │ │ └── login.tsx │ ├── signup │ │ ├── signup.client.tsx │ │ ├── signup.shared.ts │ │ └── signup.tsx │ └── todo │ │ ├── todo.client.tsx │ │ ├── todo.shared.ts │ │ └── todo.tsx ├── browser │ └── entry.browser.tsx ├── framework │ ├── browser.tsx │ ├── client.ts │ ├── cookie-session.ts │ ├── cookies.ts │ ├── crypto.ts │ ├── references.browser.ts │ ├── references.server.ts │ ├── references.ssr.ts │ ├── server.ts │ ├── sessions.ts │ ├── ssr.tsx │ └── warnings.ts ├── server │ ├── .dev.vars │ ├── entry.server.tsx │ ├── todo-list.ts │ ├── user.ts │ └── wrangler.toml └── ssr │ ├── entry.ssr.tsx │ └── wrangler.toml ├── tailwind.config.ts ├── tsconfig.client.json ├── tsconfig.json ├── tsconfig.node.json └── vite.config.ts /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | .wrangler 3 | build 4 | dist 5 | logs 6 | node_modules 7 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-ebey/cf-react-server-template/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-ebey/cf-react-server-template/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /postcss.config.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-ebey/cf-react-server-template/HEAD/postcss.config.cjs -------------------------------------------------------------------------------- /prerender.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-ebey/cf-react-server-template/HEAD/prerender.ts -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-ebey/cf-react-server-template/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /src/app/app.client.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-ebey/cf-react-server-template/HEAD/src/app/app.client.tsx -------------------------------------------------------------------------------- /src/app/app.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-ebey/cf-react-server-template/HEAD/src/app/app.css -------------------------------------------------------------------------------- /src/app/app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-ebey/cf-react-server-template/HEAD/src/app/app.tsx -------------------------------------------------------------------------------- /src/app/components/ui/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-ebey/cf-react-server-template/HEAD/src/app/components/ui/button.tsx -------------------------------------------------------------------------------- /src/app/components/ui/checkbox.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-ebey/cf-react-server-template/HEAD/src/app/components/ui/checkbox.tsx -------------------------------------------------------------------------------- /src/app/components/ui/global-loader.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-ebey/cf-react-server-template/HEAD/src/app/components/ui/global-loader.tsx -------------------------------------------------------------------------------- /src/app/components/ui/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-ebey/cf-react-server-template/HEAD/src/app/components/ui/input.tsx -------------------------------------------------------------------------------- /src/app/components/ui/select.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-ebey/cf-react-server-template/HEAD/src/app/components/ui/select.tsx -------------------------------------------------------------------------------- /src/app/components/ui/sidebar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-ebey/cf-react-server-template/HEAD/src/app/components/ui/sidebar.tsx -------------------------------------------------------------------------------- /src/app/components/ui/textarea.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-ebey/cf-react-server-template/HEAD/src/app/components/ui/textarea.tsx -------------------------------------------------------------------------------- /src/app/components/ui/validated-form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-ebey/cf-react-server-template/HEAD/src/app/components/ui/validated-form.tsx -------------------------------------------------------------------------------- /src/app/global-actions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-ebey/cf-react-server-template/HEAD/src/app/global-actions.ts -------------------------------------------------------------------------------- /src/app/lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-ebey/cf-react-server-template/HEAD/src/app/lib/utils.ts -------------------------------------------------------------------------------- /src/app/login/login.client.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-ebey/cf-react-server-template/HEAD/src/app/login/login.client.tsx -------------------------------------------------------------------------------- /src/app/login/login.shared.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-ebey/cf-react-server-template/HEAD/src/app/login/login.shared.ts -------------------------------------------------------------------------------- /src/app/login/login.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-ebey/cf-react-server-template/HEAD/src/app/login/login.tsx -------------------------------------------------------------------------------- /src/app/signup/signup.client.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-ebey/cf-react-server-template/HEAD/src/app/signup/signup.client.tsx -------------------------------------------------------------------------------- /src/app/signup/signup.shared.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-ebey/cf-react-server-template/HEAD/src/app/signup/signup.shared.ts -------------------------------------------------------------------------------- /src/app/signup/signup.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-ebey/cf-react-server-template/HEAD/src/app/signup/signup.tsx -------------------------------------------------------------------------------- /src/app/todo/todo.client.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-ebey/cf-react-server-template/HEAD/src/app/todo/todo.client.tsx -------------------------------------------------------------------------------- /src/app/todo/todo.shared.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-ebey/cf-react-server-template/HEAD/src/app/todo/todo.shared.ts -------------------------------------------------------------------------------- /src/app/todo/todo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-ebey/cf-react-server-template/HEAD/src/app/todo/todo.tsx -------------------------------------------------------------------------------- /src/browser/entry.browser.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-ebey/cf-react-server-template/HEAD/src/browser/entry.browser.tsx -------------------------------------------------------------------------------- /src/framework/browser.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-ebey/cf-react-server-template/HEAD/src/framework/browser.tsx -------------------------------------------------------------------------------- /src/framework/client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-ebey/cf-react-server-template/HEAD/src/framework/client.ts -------------------------------------------------------------------------------- /src/framework/cookie-session.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-ebey/cf-react-server-template/HEAD/src/framework/cookie-session.ts -------------------------------------------------------------------------------- /src/framework/cookies.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-ebey/cf-react-server-template/HEAD/src/framework/cookies.ts -------------------------------------------------------------------------------- /src/framework/crypto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-ebey/cf-react-server-template/HEAD/src/framework/crypto.ts -------------------------------------------------------------------------------- /src/framework/references.browser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-ebey/cf-react-server-template/HEAD/src/framework/references.browser.ts -------------------------------------------------------------------------------- /src/framework/references.server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-ebey/cf-react-server-template/HEAD/src/framework/references.server.ts -------------------------------------------------------------------------------- /src/framework/references.ssr.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-ebey/cf-react-server-template/HEAD/src/framework/references.ssr.ts -------------------------------------------------------------------------------- /src/framework/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-ebey/cf-react-server-template/HEAD/src/framework/server.ts -------------------------------------------------------------------------------- /src/framework/sessions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-ebey/cf-react-server-template/HEAD/src/framework/sessions.ts -------------------------------------------------------------------------------- /src/framework/ssr.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-ebey/cf-react-server-template/HEAD/src/framework/ssr.tsx -------------------------------------------------------------------------------- /src/framework/warnings.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-ebey/cf-react-server-template/HEAD/src/framework/warnings.ts -------------------------------------------------------------------------------- /src/server/.dev.vars: -------------------------------------------------------------------------------- 1 | SESSION_SECRET=s3cr3t 2 | -------------------------------------------------------------------------------- /src/server/entry.server.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-ebey/cf-react-server-template/HEAD/src/server/entry.server.tsx -------------------------------------------------------------------------------- /src/server/todo-list.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-ebey/cf-react-server-template/HEAD/src/server/todo-list.ts -------------------------------------------------------------------------------- /src/server/user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-ebey/cf-react-server-template/HEAD/src/server/user.ts -------------------------------------------------------------------------------- /src/server/wrangler.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-ebey/cf-react-server-template/HEAD/src/server/wrangler.toml -------------------------------------------------------------------------------- /src/ssr/entry.ssr.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-ebey/cf-react-server-template/HEAD/src/ssr/entry.ssr.tsx -------------------------------------------------------------------------------- /src/ssr/wrangler.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-ebey/cf-react-server-template/HEAD/src/ssr/wrangler.toml -------------------------------------------------------------------------------- /tailwind.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-ebey/cf-react-server-template/HEAD/tailwind.config.ts -------------------------------------------------------------------------------- /tsconfig.client.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-ebey/cf-react-server-template/HEAD/tsconfig.client.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-ebey/cf-react-server-template/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-ebey/cf-react-server-template/HEAD/tsconfig.node.json -------------------------------------------------------------------------------- /vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-ebey/cf-react-server-template/HEAD/vite.config.ts --------------------------------------------------------------------------------