{"id":24545042,"url":"https://github.com/moishinetzer/jquestioning-everything","last_synced_at":"2026-01-03T12:04:01.083Z","repository":{"id":273597056,"uuid":"920248164","full_name":"moishinetzer/jquestioning-everything","owner":"moishinetzer","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-23T15:48:30.000Z","size":47,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-09T01:12:31.036Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/moishinetzer.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-01-21T20:20:02.000Z","updated_at":"2025-01-23T15:48:33.000Z","dependencies_parsed_at":"2025-01-21T21:27:16.973Z","dependency_job_id":"6092e5f4-ef1b-4dc5-9b22-dcf67a640027","html_url":"https://github.com/moishinetzer/jquestioning-everything","commit_stats":null,"previous_names":["moishinetzer/jquestioning-eveything"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moishinetzer%2Fjquestioning-everything","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moishinetzer%2Fjquestioning-everything/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moishinetzer%2Fjquestioning-everything/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moishinetzer%2Fjquestioning-everything/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moishinetzer","download_url":"https://codeload.github.com/moishinetzer/jquestioning-everything/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243847060,"owners_count":20357317,"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-01-22T21:17:46.523Z","updated_at":"2026-01-03T12:04:01.013Z","avatar_url":"https://github.com/moishinetzer.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JQuestioning Everything\n\nA modern e-commerce product catalog and shopping cart implementation, demonstrating both jQuery and React approaches to web development.\n\n## Features\n\n- Product catalog with dynamic grid layout\n- Shopping cart functionality\n- Real-time price calculations\n- Responsive design\n- Two implementations:\n  - jQuery version (index.html)\n  - React + TypeScript version (src/main.tsx)\n\n## Tech Stack\n\n- React 18\n- TypeScript\n- Vite\n- jQuery (for the alternative implementation)\n\n## Project Structure\n\n- `index.html` - jQuery implementation with embedded styles and scripts\n- `src/`\n  - `main.tsx` - React implementation of the shopping cart\n  - `init.tsx` - React entry point\n\n## Getting Started\n\n### Prerequisites\n\n- npm\n\n### Installation\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/moishinetzer/jquestioning-everything.git\n   ```\n\n2. Install dependencies:\n   ```bash\n   npm install\n   ```\n\n### Development\n\nStart the development server:\n\n```bash\nnpm run dev\n```\n\n## Available Scripts\n\n- `npm run dev` - Start development server with Vite\n- `npm run build` - Build project with TypeScript and Vite\n- `npm run lint` - Run ESLint checks\n- `npm run preview` - Preview production build\n\n## Switching Implementations\n\nThe project provides two implementations:\n\n1. jQuery Version:\n\n   - Open `index.html` directly in a browser\n   - The jQuery implementation is currently active by default\n\n2. React Version:\n   - Uncomment the following lines in index.html:\n     ```html\n     \u003cdiv id=\"root\"\u003e\u003c/div\u003e\n     \u003cscript type=\"module\" src=\"/src/main.tsx\"\u003e\u003c/script\u003e\n     ```\n   - Comment out or remove the jQuery script section\n\n## Implementation Comparison\n\nBoth versions implement the same features with different approaches:\n\n- Product Catalog\n\n  - jQuery: DOM manipulation with `.append()`\n  - React: Component-based rendering with state management\n\n- Shopping Cart\n\n  - jQuery: Direct DOM updates and event handlers\n  - React: useState hook for state management\n\n- Price Calculations\n  - Both use reduce() for total calculation\n  - React version has more declarative updates\n\n## Code Quality\n\n- TypeScript for type safety\n- ESLint configuration with:\n  - React Hooks plugin\n  - React Refresh plugin\n  - Strict TypeScript checks\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoishinetzer%2Fjquestioning-everything","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoishinetzer%2Fjquestioning-everything","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoishinetzer%2Fjquestioning-everything/lists"}