{"id":18613583,"url":"https://github.com/aabbtree77/auth-starter-frontend","last_synced_at":"2026-04-29T16:32:55.898Z","repository":{"id":246016145,"uuid":"819843884","full_name":"aabbtree77/auth-starter-frontend","owner":"aabbtree77","description":"Frontend for a complete session-based user authentication, with styled forms. Vite, React, TypeScript.","archived":false,"fork":false,"pushed_at":"2025-03-18T14:20:04.000Z","size":71,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-06T05:51:14.995Z","etag":null,"topics":["authentication","authorization","bun","daisyui","frontend","localhost","protected-routes","react","react-hook-form","session","session-cookie","styling","zod-validation"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aabbtree77.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-06-25T09:54:01.000Z","updated_at":"2025-03-18T14:20:07.000Z","dependencies_parsed_at":"2025-02-18T03:42:07.947Z","dependency_job_id":"0df02665-8496-4cee-8c23-32f565912158","html_url":"https://github.com/aabbtree77/auth-starter-frontend","commit_stats":null,"previous_names":["aabbtree77/auth-starter-frontend"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aabbtree77/auth-starter-frontend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aabbtree77%2Fauth-starter-frontend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aabbtree77%2Fauth-starter-frontend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aabbtree77%2Fauth-starter-frontend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aabbtree77%2Fauth-starter-frontend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aabbtree77","download_url":"https://codeload.github.com/aabbtree77/auth-starter-frontend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aabbtree77%2Fauth-starter-frontend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32434763,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T13:34:34.882Z","status":"ssl_error","status_checked_at":"2026-04-29T13:34:29.830Z","response_time":110,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["authentication","authorization","bun","daisyui","frontend","localhost","protected-routes","react","react-hook-form","session","session-cookie","styling","zod-validation"],"created_at":"2024-11-07T03:22:49.049Z","updated_at":"2026-04-29T16:32:55.874Z","avatar_url":"https://github.com/aabbtree77.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e \"Storage as a service, network as a service, CPU as a service, your mom as a service...\"\n\u003e\n\u003e — *nexovec, 2024* \n\n# Introduction\n\nThis is the third iteration of my quest for the holy grail - building a CRUD web app.\n\nPreviously, I have considered metaframeworks: [Next.js](https://github.com/ugurkellecioglu/next-14-lucia-auth-postgresql-drizzle-typescript-example/issues/1), [SvelteKit](https://github.com/edwardspresume/sveltekit-lucia-auth-v3-example/issues/3), and [Astro](https://github.com/aabbtree77/session-auth-starter). Before that, [MERN with vanilla Js](https://github.com/aabbtree77/miniguestlog).\n\nThe stack here splits an app into frontend (Vite + React) and backend (Hono + Drizzle + bun:sqlite). Authentication is session cookie-based user-password storage (hashing) and verification. Communication via the Fetch API (REST API).\n\nThis code is the frontend part. See [the accompanied backend](https://github.com/aabbtree77/auth-starter-backend).\n\n```sh\nbun install\nbun run dev\n```\n\nIf this breaks, start with `bun create hono my-app` and recreate the structure.    \n\nNotice that I did not place `.env` inside `.gitignore`.\n\n# Decisions Made\n\n1. No emails, no password resets.\n\n2. Only a single active user session is allowed.\n\n3. Only `bun run dev`.\n\n# Some Thoughts About (BE + FE) vs Metaframeworks\n\nPros (BE + FE):\n\n- The Fetch API instead of obscure rushed components du jour.\n\n- Much easier to understand and debug.\n\n- More help from ChatGPT or DeepSeek.\n\nCons (BE + FE):\n\n- Two separate projects (deployment, runtimes, build systems, state, routing, .env...). Enforcing a single repo is reinventing a metaframework.\n\n- It must be an SPA. An MPA with SSR/SSG React and hydration is, again, reinventing a metaframework.\n\n- If we remove React, we’re back to static templating and raw strings. At the very least, React provides JSX, useState, and useEffect.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faabbtree77%2Fauth-starter-frontend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faabbtree77%2Fauth-starter-frontend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faabbtree77%2Fauth-starter-frontend/lists"}