{"id":48764294,"url":"https://github.com/abx15/laravel-react-ecommerce","last_synced_at":"2026-04-13T07:46:22.020Z","repository":{"id":335794305,"uuid":"1145758879","full_name":"abx15/laravel-react-ecommerce","owner":"abx15","description":"Production-ready full-stack e-commerce application using Laravel (API), React, Tailwind CSS, MySQL, Sanctum auth, and Razorpay payments.","archived":false,"fork":false,"pushed_at":"2026-02-01T14:53:04.000Z","size":283,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-01T16:31:26.745Z","etag":null,"topics":["blade","docker","javascript","laravel","php","react","sql","tailwindcss"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/abx15.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":"SUPPORT.md","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},"funding":{"github":"abx15"}},"created_at":"2026-01-30T07:12:28.000Z","updated_at":"2026-02-01T14:53:08.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/abx15/laravel-react-ecommerce","commit_stats":null,"previous_names":["abx15/laravel-react-ecommerce"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/abx15/laravel-react-ecommerce","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abx15%2Flaravel-react-ecommerce","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abx15%2Flaravel-react-ecommerce/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abx15%2Flaravel-react-ecommerce/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abx15%2Flaravel-react-ecommerce/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abx15","download_url":"https://codeload.github.com/abx15/laravel-react-ecommerce/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abx15%2Flaravel-react-ecommerce/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31744404,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T06:26:45.479Z","status":"ssl_error","status_checked_at":"2026-04-13T06:26:44.645Z","response_time":93,"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":["blade","docker","javascript","laravel","php","react","sql","tailwindcss"],"created_at":"2026-04-13T07:46:18.261Z","updated_at":"2026-04-13T07:46:21.964Z","avatar_url":"https://github.com/abx15.png","language":"JavaScript","funding_links":["https://github.com/sponsors/abx15"],"categories":[],"sub_categories":[],"readme":"# 🛒 OpenShop - Professional E-Commerce Platform\n\n![License](https://img.shields.io/badge/license-MIT-blue.svg)\n![CI](https://github.com/abx15/laravel-react-ecommerce/actions/workflows/ci.yml/badge.svg)\n![Laravel](https://img.shields.io/badge/backend-Laravel_11-red.svg)\n![React](https://img.shields.io/badge/frontend-React_18-cyan.svg)\n![Docker](https://img.shields.io/badge/docker-ready-2496ED.svg)\n\nA production-grade, fully open-source E-Commerce platform built with **Laravel 11 (API)** and **React 18**. Designed for scalability, security, and exceptional developer experience.\n\n## 🚀 Key Features\n\n### 🎯 Core Functionality\n\n- **Multi-role Authentication**: Users, Admins, and Super Admins\n- **Product Catalog**: Complete CRUD with image uploads and categories\n- **Shopping Cart**: Persistent cart with real-time updates\n- **Order Management**: Full order lifecycle with status tracking\n- **Payment Integration**: Secure Razorpay payments with server-side verification\n- **Responsive Design**: Mobile-first approach with Tailwind CSS\n\n### Backend (Laravel API)\n\n- **Authentication**: Laravel Sanctum token-based authentication\n- **RBAC**: Role-Based Access Control via Spatie Permissions\n- **API Standards**: RESTful design with proper HTTP codes\n- **Security**: Input validation, rate limiting, and CORS protection\n\n### Frontend (React)\n\n- **Modern Stack**: React 18, Vite, Tailwind CSS\n- **State Management**: Context API with custom hooks\n- **Admin Dashboard**: Complete admin panel for store management\n- **SPA Architecture**: Seamless client-side routing\n\n## 🛠 Tech Stack\n\n| Component | Technology |\n|Info|Details|\n| :--- | :--- |\n| **Backend** | PHP 8.2+, Laravel 11, MySQL 8 |\n| **Frontend** | React 18, Vite, Tailwind CSS, Headless UI |\n| **Auth** | Laravel Sanctum, Spatie Permission |\n| **DevOps** | Docker, GitHub Actions, Vercel |\n\n## 📂 Project Structure\n\n```bash\necomer/\n├── backend/                 # Laravel API Backend\n├── frontend/                # React Frontend\n├── .github/                 # CI/CD \u0026 Community Files\n├── docker/                  # Docker Configs\n├── vercel.json              # Vercel Deployment Config\n├── Dockerfile               # Production Frontend Build\n└── README.md                # Documentation\n```\n\n## 🚀 Quick Start (Local Development)\n\n### Prerequisites\n\n- PHP 8.2+ \u0026 Composer\n- Node.js 18+ \u0026 NPM\n- MySQL 8+\n\n### 1. Clone \u0026 Setup\n\n```bash\ngit clone https://github.com/abx15/laravel-react-ecommerce.git\ncd laravel-react-ecommerce\n```\n\n### 2. Backend Setup\n\n```bash\ncd backend\ncomposer install\ncp .env.example .env\nphp artisan key:generate\nphp artisan migrate --seed\nphp artisan storage:link\nphp artisan serve\n```\n\n### 3. Frontend Setup\n\n```bash\ncd frontend\nnpm install\nnpm run dev\n```\n\nAccess the app at `http://localhost:5175`.\n\n## 🐳 Docker Usage\n\nWe provide a production-ready Docker setup for the frontend.\n\n### Build and Run\n\n```bash\n# Build the image\ndocker build -t ecomer-frontend .\n\n# Run the container\ndocker run -p 8080:80 ecomer-frontend\n```\n\nAccess the frontend at `http://localhost:8080`.\n\n## 🔄 CI/CD Pipeline\n\nThis repository uses **GitHub Actions** for continuous integration:\n\n- **Frontend Build**: Linting and building the React application.\n- **Backend Tests**: Running PHPUnit tests with a MySQL service.\n\nCheck `.github/workflows/ci.yml` for details.\n\n## ☁️ Deployment\n\n### Vercel (Frontend)\n\nThis project is configured for Vercel. The `vercel.json` ensures that client-side routing works correctly.\n\n1.  Import project to Vercel.\n2.  Set Root Directory to `frontend` (or keep root and set Build Command `npm run build` in `frontend`).\n3.  Deploy!\n\n### Environment Variables\n\nSee `backend/.env.example` and `frontend/.env.example` for required variables.\n\n## 🤝 Contributing\n\nWe welcome contributions! Please see [CONTRIBUTING.md](CONTRIBUTING.md) for details.\n\n## 💖 Support \u0026 Sponsorship\n\nIf you find this project useful, please consider sponsoring:\n\n- [**GitHub Sponsors**](https://github.com/sponsors/abx15)\n\n## 📄 License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n---\n\n**Maintained by [Arun Kumar Bind](https://github.com/abx15)**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabx15%2Flaravel-react-ecommerce","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabx15%2Flaravel-react-ecommerce","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabx15%2Flaravel-react-ecommerce/lists"}