{"id":24047688,"url":"https://github.com/devmuhammadzaki/scandistore","last_synced_at":"2026-04-10T07:18:32.944Z","repository":{"id":271587576,"uuid":"913932452","full_name":"devmuhammadzaki/scandistore","owner":"devmuhammadzaki","description":"A simple eCommerce website with product listing, and cart functionality built using:  PHP, MySQL, GraphQL, React.js, and TailwindCSS.","archived":false,"fork":false,"pushed_at":"2025-01-08T16:22:10.000Z","size":952,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-08T17:40:27.714Z","etag":null,"topics":["apollo-client","dompurify","graphql","html-react-parser","mysql","php","phpdotenv","react-toastify","reactjs","tailwindcss"],"latest_commit_sha":null,"homepage":"","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/devmuhammadzaki.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-08T16:19:07.000Z","updated_at":"2025-01-08T16:26:23.000Z","dependencies_parsed_at":"2025-01-08T17:40:52.006Z","dependency_job_id":"cfc42c96-45af-48ea-9c3e-2a39e85193b0","html_url":"https://github.com/devmuhammadzaki/scandistore","commit_stats":null,"previous_names":["devmuhammadzaki/scandistore"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devmuhammadzaki%2Fscandistore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devmuhammadzaki%2Fscandistore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devmuhammadzaki%2Fscandistore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devmuhammadzaki%2Fscandistore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devmuhammadzaki","download_url":"https://codeload.github.com/devmuhammadzaki/scandistore/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240831070,"owners_count":19864709,"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":["apollo-client","dompurify","graphql","html-react-parser","mysql","php","phpdotenv","react-toastify","reactjs","tailwindcss"],"created_at":"2025-01-09T00:50:03.281Z","updated_at":"2026-04-10T07:18:27.912Z","avatar_url":"https://github.com/devmuhammadzaki.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Scandistore\n\n![](./scandistore.png)\n\nA simple eCommerce website with product listing, and cart functionality built using the following technologies:\n\n- **Backend**: PHP, MySQL, GraphQL\n- **Frontend**: React.js, Apollo Client, TailwindCSS\n- **Utilities**: phpdotenv, react-toastify, dompurify, html-react-parser\n\n## Usage\n\nTo get started, follow these steps:\n\n1. **Clone the Repository:**\n\n   ```bash\n   git clone https://github.com/devmuhammadzaki/scandistore.git\n   ```\n\n2. **Navigate to the Project Directory:**\n\n   ```bash\n   cd scandistore\n   ```\n\n3. **Install Dependencies:**\n\n   ```bash\n   composer install\n   cd client \u0026\u0026 npm install\n   ```\n\n4. **Configure Environment:**\n\n   - Rename the `.env.example` file in the root directory to `.env` and update the necessary variables.\n\n   ```bash\n    mv .env.example .env\n   ```\n\n5. **Database Setup:**\n\n   - Create a database with the same name specified in `.env` (default is `scandistore_db`).\n   - Run the SQL script found in `schema.sql` file in the root directory to create the required tables with appropriate schema and relations.\n\n6. **Serve or Build the Frontend:**\n\n   ```bash\n   cd client/\n\n   # For development:\n   npm run dev\n\n   # For production:\n   npm run build\n   ```\n\n7. **Run the Start Script with No Timeout:**\n   ```bash\n   composer run-script start --timeout=0\n   ```\n\n## Project Structure\n\n```\n.\n├── client\n│   ├── index.html\n│   ├── node_modules\n│   ├── package.json\n│   ├── package-lock.json\n│   ├── postcss.config.js\n│   ├── public\n│   ├── README.md\n│   ├── src\n│   ├── tailwind.config.js\n│   └── vite.config.js\n├── composer.json\n├── composer.lock\n├── public\n│   ├── assets\n│   ├── favicon.ico\n│   ├── index.html\n│   └── index.php\n├── README.md\n├── schema.sql\n├── src\n│   ├── config\n│   ├── Database.php\n│   ├── GraphQL\n│   ├── helpers.php\n│   └── Models\n└── vendor\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevmuhammadzaki%2Fscandistore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevmuhammadzaki%2Fscandistore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevmuhammadzaki%2Fscandistore/lists"}