{"id":25860065,"url":"https://github.com/danipabernales/modern-ecommerce","last_synced_at":"2026-04-07T07:40:57.354Z","repository":{"id":280155387,"uuid":"940878452","full_name":"danipaBernales/modern-ecommerce","owner":"danipaBernales","description":"A React/TypeScript e-commerce platform with Supabase backend. Built with Tailwind CSS, React Router, and Zustand for state management. Responsive design. Created with StackBlitz","archived":false,"fork":false,"pushed_at":"2025-03-01T16:18:40.000Z","size":104,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-01T16:31:38.955Z","etag":null,"topics":["lucide-react","postgresql","react","react-router","supabase","tailwind-css","typescript","zustand"],"latest_commit_sha":null,"homepage":"https://glittering-chimera-302e26.netlify.app/","language":"TypeScript","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/danipaBernales.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","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-01T01:05:48.000Z","updated_at":"2025-03-01T16:18:42.000Z","dependencies_parsed_at":"2025-03-01T16:42:46.342Z","dependency_job_id":null,"html_url":"https://github.com/danipaBernales/modern-ecommerce","commit_stats":null,"previous_names":["danipabernales/modern-ecommerce"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danipaBernales%2Fmodern-ecommerce","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danipaBernales%2Fmodern-ecommerce/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danipaBernales%2Fmodern-ecommerce/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danipaBernales%2Fmodern-ecommerce/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danipaBernales","download_url":"https://codeload.github.com/danipaBernales/modern-ecommerce/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241430317,"owners_count":19961635,"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":["lucide-react","postgresql","react","react-router","supabase","tailwind-css","typescript","zustand"],"created_at":"2025-03-01T21:53:15.940Z","updated_at":"2025-12-30T19:36:29.306Z","avatar_url":"https://github.com/danipaBernales.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ModernShop - E-commerce Platform\n\n![ModernShop Banner](https://images.unsplash.com/photo-1523275335684-37898b6baf30?ixlib=rb-1.2.1\u0026auto=format\u0026fit=crop\u0026w=1350\u0026q=80)\n\n## Overview\n\nModernShop is a modern, feature-rich e-commerce platform built with React, TypeScript, and Supabase. It offers a seamless shopping experience with a clean, responsive design and robust functionality.\n\n🚀 **Live Demo**: [ModernShop on Netlify](https://glittering-chimera-302e26.netlify.app)\n\n## Features\n\n- **User Authentication**: Secure sign-up and login with username customization\n- **Product Browsing**: Browse products by category with filtering and sorting options\n- **Product Details**: Detailed product pages with image galleries, specifications, and reviews\n- **Shopping Cart**: Add, update, and remove items from your cart\n- **User Profiles**: Manage your personal information and track orders\n- **Responsive Design**: Fully responsive layout that works on all devices\n- **Dark Mode**: Toggle between light and dark themes\n- **Order Management**: Track your orders and view order history\n- **Newsletter Subscription**: Stay updated with the latest products and offers\n\n## Tech Stack\n\n- **Frontend**:\n  - React 18\n  - TypeScript\n  - React Router for navigation\n  - Zustand for state management\n  - Tailwind CSS for styling\n  - Lucide React for icons\n\n- **Backend**:\n  - Supabase for authentication, database, and storage\n  - PostgreSQL database with Row Level Security\n\n- **Deployment**:\n  - Netlify for hosting\n\n## Getting Started\n\n### Prerequisites\n\n- Node.js (v16 or higher)\n- npm or yarn\n\n### Installation\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/danipabernales/modern-ecommerce.git\n   cd modern-ecommerce\n   ```\n\n2. Install dependencies:\n   ```bash\n   npm install\n   ```\n\n3. Set up environment variables:\n   Create a `.env` file in the root directory with the following variables:\n   ```\n   VITE_SUPABASE_URL=your_supabase_url\n   VITE_SUPABASE_ANON_KEY=your_supabase_anon_key\n   ```\n\n4. Start the development server:\n   ```bash\n   npm run dev\n   ```\n\n5. Open [http://localhost:5173](http://localhost:5173) to view the app in your browser.\n\n## Project Structure\n\n```\n/src\n  /components      # Reusable UI components\n  /lib             # Utility functions and libraries\n  /pages           # Page components\n  /store           # Zustand store definitions\n  /types           # TypeScript type definitions\n  App.tsx          # Main application component\n  main.tsx         # Application entry point\n/supabase\n  /migrations      # Database migrations\n  /consolidated    # Consolidated migration for new environments\n/docs\n  DATABASE_SCHEMA.md  # Database schema documentation\n  MIGRATION_GUIDE.md  # Guide for managing migrations\n  MIGRATION_ISSUE.md  # Documentation of migration issues\n/scripts\n  check-migrations.js # Script to check for migration issues\n  deploy.js           # Script to deploy to Netlify\n```\n\n## Database Schema\n\nThe application uses the following main tables:\n- `profiles`: User profile information\n- `products`: Product details\n- `categories`: Product categories\n- `product_images`: Product image galleries\n- `reviews`: Product reviews\n- `orders`: Order information\n- `order_items`: Items within orders\n\nFor detailed schema information, see [DATABASE_SCHEMA.md](docs/DATABASE_SCHEMA.md).\n\n## Migration Management\n\nThis project uses Supabase migrations to manage the database schema. For information on how to work with migrations, see [MIGRATION_GUIDE.md](docs/MIGRATION_GUIDE.md).\n\nIf you're setting up a new environment, you can use the consolidated migration in `supabase/migrations/consolidated/baseline.sql`.\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add some amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\nFor more details, see [CONTRIBUTING.md](.github/CONTRIBUTING.md).\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n## Acknowledgments\n\n- [Tailwind CSS](https://tailwindcss.com/)\n- [React](https://reactjs.org/)\n- [Supabase](https://supabase.io/)\n- [Vite](https://vitejs.dev/)\n- [Lucide Icons](https://lucide.dev/)\n- [Unsplash](https://unsplash.com/) for the product imagess","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanipabernales%2Fmodern-ecommerce","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanipabernales%2Fmodern-ecommerce","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanipabernales%2Fmodern-ecommerce/lists"}