{"id":24029940,"url":"https://github.com/holedev/shopee_demo","last_synced_at":"2026-07-03T10:37:21.289Z","repository":{"id":193336666,"uuid":"688127284","full_name":"holedev/shopee_demo","owner":"holedev","description":"A full-stack e-commerce application built with React.js, Spring MVC, and MySQL.","archived":false,"fork":false,"pushed_at":"2025-03-30T15:06:48.000Z","size":306,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-15T05:34:41.818Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","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/holedev.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}},"created_at":"2023-09-06T17:53:36.000Z","updated_at":"2025-03-30T15:07:04.000Z","dependencies_parsed_at":"2023-11-21T14:02:47.510Z","dependency_job_id":null,"html_url":"https://github.com/holedev/shopee_demo","commit_stats":null,"previous_names":["anvyidol/shopeedemo","leho-dev/shopee_demo","holedev/shopee_demo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/holedev/shopee_demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holedev%2Fshopee_demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holedev%2Fshopee_demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holedev%2Fshopee_demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holedev%2Fshopee_demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/holedev","download_url":"https://codeload.github.com/holedev/shopee_demo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holedev%2Fshopee_demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35083017,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-03T02:00:05.635Z","response_time":110,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-01-08T17:05:02.501Z","updated_at":"2026-07-03T10:37:21.284Z","avatar_url":"https://github.com/holedev.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shopee E-commerce Platform\n\nA full-stack e-commerce application built with React.js, Spring MVC, and MySQL.\n\n## Features\n\n- 🛍️ Product browsing and searching\n- 🛒 Shopping cart functionality\n- 💬 Real-time chat support\n- ⭐ Product ratings and reviews\n- 🔒 User authentication with OAuth2\n- 💳 Secure payment processing with Stripe\n- 📊 Sales statistics and analytics\n- 🏪 Store management system\n- 📱 Responsive design\n\n## Tech Stack\n\n### Frontend\n- React.js with Vite\n- Context API for state management\n- CSS Modules for styling\n- Firebase for OAuth authentication\n- Axios for API calls\n- Chart.js for statistics visualization\n\n### Backend\n- Java Spring MVC\n- Spring Security with JWT\n- Hibernate ORM\n- MySQL Database\n- Maven for dependency management\n\n## Project Structure\n\n```\n├── client/                 # Frontend React application\n│   ├── src/\n│   │   ├── assets/        # Static assets\n│   │   ├── components/    # Reusable components\n│   │   ├── config/        # Configuration files\n│   │   ├── pages/         # Page components\n│   │   ├── store/         # Context providers\n│   │   └── utils/         # Utility functions\n│   \n├── shopee/                 # Backend Spring MVC application\n│   ├── src/main/\n│   │   ├── java/\n│   │   │   └── com/dev/\n│   │   │       ├── configs/     # Spring configurations\n│   │   │       ├── controllers/ # API controllers\n│   │   │       ├── dto/         # Data transfer objects\n│   │   │       ├── pojo/        # Entity models\n│   │   │       └── service/     # Business logic\n│   │   └── resources/    # Application properties\n│   \n└── saledb.sql             # Database schema\n```\n\n## Setup Instructions\n\n### Prerequisites\n- Node.js (v14 or higher)\n- Java JDK 11 or higher\n- Maven\n- MySQL\n\n### Frontend Setup\n1. Navigate to the client directory:\n```bash\ncd client\n```\n\n2. Install dependencies:\n```bash\nnpm install\n```\n\n3. Create a `.env` file with required environment variables:\n```\nVITE_API_URL=http://localhost:8080\nVITE_FIREBASE_API_KEY=your_firebase_api_key\nVITE_STRIPE_PUBLIC_KEY=your_stripe_public_key\n```\n\n4. Start the development server:\n```bash\nnpm run dev\n```\n\n### Backend Setup\n1. Navigate to the shopee directory:\n```bash\ncd shopee\n```\n\n2. Update database configuration in `src/main/resources/databases.properties`\n\n3. Install dependencies and build:\n```bash\nmvn clean install\n```\n\n4. Run the application:\n```bash\nmvn spring-boot:run\n```\n\n### Database Setup\n1. Create a MySQL database\n2. Import the schema:\n```bash\nmysql -u your_username -p your_database_name \u003c saledb.sql\n```\n\n## Main Features Implementation\n\n### Authentication\n- JWT-based authentication\n- Google OAuth2 integration\n- Protected routes implementation\n\n### Shopping Cart\n- Real-time cart updates\n- Persistent cart storage\n- Stripe payment integration\n\n### Chat System\n- Real-time messaging\n- Chat history storage\n- User presence indicators\n\n### Product Management\n- Product CRUD operations\n- Image upload and management\n- Category organization\n\n### Rating System\n- Product ratings\n- Store ratings\n- Comment management\n\n## API Documentation\n\nKey API endpoints:\n\n- `/api/products` - Product management\n- `/api/users` - User management\n- `/api/cart` - Shopping cart operations\n- `/api/orders` - Order processing\n- `/api/comments` - Review system\n- `/api/stats` - Statistics and analytics\n\nDetailed API documentation can be found in the respective controllers.\n\n## Deployment\n\n### Frontend Deployment\n- Build the production bundle:\n```bash\ncd client\nnpm run build\n```\n- Deploy the `dist` directory to your web server\n\n### Backend Deployment\n- Build the WAR file:\n```bash\ncd shopee\nmvn clean package\n```\n- Deploy the WAR file to your Java application server\n\n## License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fholedev%2Fshopee_demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fholedev%2Fshopee_demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fholedev%2Fshopee_demo/lists"}