{"id":26451350,"url":"https://github.com/future-rafay/techsphere","last_synced_at":"2026-04-09T12:38:00.405Z","repository":{"id":282295812,"uuid":"946288656","full_name":"Future-Rafay/TechSphere","owner":"Future-Rafay","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-13T19:54:18.000Z","size":1034,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-13T20:31:29.498Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://techsphere-site.vercel.app","language":"TypeScript","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/Future-Rafay.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}},"created_at":"2025-03-10T22:57:24.000Z","updated_at":"2025-03-13T19:54:22.000Z","dependencies_parsed_at":"2025-03-13T20:41:54.643Z","dependency_job_id":null,"html_url":"https://github.com/Future-Rafay/TechSphere","commit_stats":null,"previous_names":["future-rafay/techsphere"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Future-Rafay%2FTechSphere","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Future-Rafay%2FTechSphere/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Future-Rafay%2FTechSphere/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Future-Rafay%2FTechSphere/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Future-Rafay","download_url":"https://codeload.github.com/Future-Rafay/TechSphere/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244266290,"owners_count":20425824,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2025-03-18T16:52:39.571Z","updated_at":"2025-12-30T22:14:46.892Z","avatar_url":"https://github.com/Future-Rafay.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TechSphere E-commerce Platform\n\nA modern, feature-rich e-commerce platform for electronics and tech products built with Next.js.\n\n## Features\n\n### Authentication\n- Multiple authentication providers (GitHub, Google, Credentials)\n- JWT-based authentication\n- Server-side route protection\n- Client-side route protection\n- Custom hooks for authentication state management\n- Admin role detection and admin dashboard\n\n### User Interface\n- Modern, responsive design\n- Dark/light mode support\n- Animated transitions and interactions\n- Mobile-friendly navigation\n\n### E-commerce Functionality\n- Product browsing and filtering\n- Dynamic product details pages\n- Shopping cart with localStorage persistence\n- Quantity adjustment and item removal\n- One-click checkout\n- Order summary with tax calculation\n\n## Tech Stack\n\n- **Framework**: Next.js 14 (App Router)\n- **Styling**: Tailwind CSS\n- **Authentication**: NextAuth.js\n- **State Management**: React Context API\n- **Animations**: Framer Motion\n- **Icons**: React Icons\n\n## Getting Started\n\n1. Clone the repository\n2. Install dependencies:\n   ```bash\n   npm install\n   ```\n3. Set up environment variables in `.env.local`:\n   ```\n   NEXTAUTH_SECRET=\"your-secret-key\"\n   NEXTAUTH_URL=\"http://localhost:3000\"\n   GITHUB_ID=\"your-github-client-id\"\n   GITHUB_SECRET=\"your-github-client-secret\"\n   GOOGLE_CLIENT_ID=\"your-google-client-id\"\n   GOOGLE_CLIENT_SECRET=\"your-google-client-secret\"\n   ```\n4. Run the development server:\n   ```bash\n   npm run dev\n   ```\n\n## Authentication\n\n### Test Accounts\n- Regular User:\n  - Email: user@example.com\n  - Password: password\n- Admin User:\n  - Email: admin@example.com\n  - Password: admin\n\n### Protected Routes\n- `/profile` - Server-side protected\n- `/dashboard` - Client-side protected\n- `/admin/dashboard` - Admin-only access\n\n## Project Structure\n\n- `/src/app` - Next.js app router pages\n- `/src/components` - Reusable UI components\n- `/src/lib` - Utilities, hooks, and context providers\n- `/src/lib/hooks` - Custom React hooks\n- `/src/lib/context` - React context providers\n- `/src/lib/utils` - Utility functions\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuture-rafay%2Ftechsphere","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffuture-rafay%2Ftechsphere","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuture-rafay%2Ftechsphere/lists"}