{"id":35324271,"url":"https://github.com/sethi353/client","last_synced_at":"2026-04-07T16:31:21.523Z","repository":{"id":326357757,"uuid":"1105172954","full_name":"sethi353/client","owner":"sethi353","description":"A full-stack Next.js app with NextAuth authentication, responsive UI, and protected product management pages powered by an Express.js backend.","archived":false,"fork":false,"pushed_at":"2025-12-25T13:04:13.000Z","size":85,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-27T00:53:25.590Z","etag":null,"topics":["firebase","javascript","nextjs","react-router"],"latest_commit_sha":null,"homepage":"https://client-phi-hazel.vercel.app","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sethi353.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-27T08:35:35.000Z","updated_at":"2025-12-25T13:04:17.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/sethi353/client","commit_stats":null,"previous_names":["sethi353/client"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sethi353/client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sethi353%2Fclient","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sethi353%2Fclient/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sethi353%2Fclient/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sethi353%2Fclient/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sethi353","download_url":"https://codeload.github.com/sethi353/client/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sethi353%2Fclient/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31520409,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"ssl_error","status_checked_at":"2026-04-07T16:28:06.951Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["firebase","javascript","nextjs","react-router"],"created_at":"2025-12-31T01:02:40.959Z","updated_at":"2026-04-07T16:31:21.515Z","avatar_url":"https://github.com/sethi353.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Next.js Auth App : Cosmetics\n\nA simple full-stack application built with Next.js (App Router), NextAuth.js, and a lightweight Express.js backend.\nIncludes public + protected pages, Google \u0026 credentials login, and product management.\n\n🚀 Live Demo\n\nFrontend: https://client-phi-hazel.vercel.app/\n\n\n\n\n📘 Overview\n\nThis project showcases:\n\nNext.js App Router\n\nAuthentication with Firebase\n\nProtected routes (Add Product, Manage Products)\n\nClean UI, responsive layout\n\nCRUD operations with Express backend\n\n🛣️ Routes\n\nPublic: /, /items, /items/[id], /login, /register\nProtected: /add-product, /manage-products\n\nUnauthorized users are redirected to /login.\n\n🔐 Authentication\n\nGoogle login\n\nEmail/password (credentials)\n\nAfter login → redirect to /\n\nNavbar updates to show profile dropdown + product management links\n\n🛒 Features\n\nLanding Page (7 sections)\n\nItem List (search + grid of cards)\n\nItem Details (banner + full info)\n\nAdd Product (form + validation)\n\nManage Products (table/grid + View/Delete)\n\n🛠️ Stack\n\nNext.js (App Router)\n\nFirebase\n\nTailwind CSS\n\nExpress.js backend\n\n\n\n⚙️ Setup\n\nClone:\n\ngit clone \u003crepo-url\u003e\n\n\nInstall dependencies:\n\nnpm install\n\n\nEnv variables (.env.local):\n\nNEXTAUTH_URL=http://localhost:3000\nNEXTAUTH_SECRET=your-secret\nGOOGLE_CLIENT_ID=xxx\nGOOGLE_CLIENT_SECRET=xxx\nAPI_BASE_URL=http://localhost:5000\n\n\nRun backend:\n\nnpm start\n\n\nRun frontend:\n\nnpm run dev\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsethi353%2Fclient","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsethi353%2Fclient","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsethi353%2Fclient/lists"}