{"id":23971449,"url":"https://github.com/mirkashi/grazieoutfits","last_synced_at":"2026-05-13T01:32:55.674Z","repository":{"id":248630781,"uuid":"829245684","full_name":"mirkashi/Grazieoutfits","owner":"mirkashi","description":"hawaiian summer shirt online store.","archived":false,"fork":false,"pushed_at":"2025-12-31T17:56:12.000Z","size":47267,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-05T03:18:21.347Z","etag":null,"topics":["github","github-actions","github-pages","hawaiian","shirts","summer","website","website-template"],"latest_commit_sha":null,"homepage":"https://grazieoutfits.shop/","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/mirkashi.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":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-16T03:59:08.000Z","updated_at":"2025-12-31T17:56:15.000Z","dependencies_parsed_at":"2024-07-16T07:12:03.795Z","dependency_job_id":null,"html_url":"https://github.com/mirkashi/Grazieoutfits","commit_stats":null,"previous_names":["mirkashi/grazieoutfits"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mirkashi/Grazieoutfits","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mirkashi%2FGrazieoutfits","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mirkashi%2FGrazieoutfits/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mirkashi%2FGrazieoutfits/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mirkashi%2FGrazieoutfits/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mirkashi","download_url":"https://codeload.github.com/mirkashi/Grazieoutfits/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mirkashi%2FGrazieoutfits/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32963904,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-12T23:30:32.555Z","status":"ssl_error","status_checked_at":"2026-05-12T23:30:18.191Z","response_time":102,"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":["github","github-actions","github-pages","hawaiian","shirts","summer","website","website-template"],"created_at":"2025-01-07T03:01:08.253Z","updated_at":"2026-05-13T01:32:55.644Z","avatar_url":"https://github.com/mirkashi.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Grazie Outfits - MERN Stack E-commerce Platform\n\nTransform of the static Grazie Outfits website into a modern, professional e-commerce platform built with the MERN stack (MongoDB, Express.js, React, Node.js) and Material-UI.\n\n## 🚀 Quick Start\n\n```bash\n# Install all dependencies\nnpm run install:all\n\n# Setup environment variables\ncp .env.example .env\ncp client/.env.example client/.env\n\n# Start development (both frontend and backend)\nnpm run dev\n```\n\n- Frontend: http://localhost:5173\n- Backend API: http://localhost:5000/api\n\n## 📋 Features\n\n### Customer-Facing\n✅ Modern, responsive landing page with MUI  \n✅ Product catalog with filtering  \n✅ Product detail pages  \n✅ Shopping cart and checkout  \n✅ Multiple payment options (COD, Bank Transfer, Easypaisa, JazzCash)  \n✅ Region-based dynamic shipping costs  \n✅ Contact form with email integration  \n\n### Admin Panel\n✅ Secure JWT authentication  \n✅ Product management (CRUD with image upload)  \n✅ Order management and tracking  \n✅ Email/SMTP configuration  \n✅ Shipping rate management by region  \n✅ Payment method settings  \n\n## 🛠 Technology Stack\n\n**Backend:** Node.js, Express, MongoDB, Mongoose, JWT, Multer, Nodemailer  \n**Frontend:** React, Vite, Material-UI, React Router, Axios\n\n## 📁 Project Structure\n\n```\nGrazieoutfits/\n├── server/              # Backend Express API\n│   ├── models/          # MongoDB schemas\n│   ├── controllers/     # Business logic\n│   ├── routes/          # API endpoints\n│   ├── middleware/      # Auth \u0026 uploads\n│   └── server.js        # Entry point\n├── client/              # React frontend\n│   └── src/\n│       ├── components/  # UI components\n│       ├── pages/       # Page components\n│       └── services/    # API clients\n└── package.json         # Root config\n```\n\n## 🔧 Setup \u0026 Installation\n\n### Prerequisites\n- Node.js v16+\n- MongoDB (local or Atlas)\n- npm or yarn\n\n### Installation Steps\n\n1. **Clone and install dependencies**\n   ```bash\n   git clone \u003crepo-url\u003e\n   cd Grazieoutfits\n   npm install\n   cd client \u0026\u0026 npm install \u0026\u0026 cd ..\n   ```\n\n2. **Configure environment**\n   \n   Root `.env`:\n   ```env\n   PORT=5000\n   MONGODB_URI=mongodb://localhost:27017/grazieoutfits\n   JWT_SECRET=your-secret-key\n   ```\n\n   Client `.env`:\n   ```env\n   VITE_API_URL=http://localhost:5000/api\n   ```\n\n3. **Create admin account**\n   ```bash\n   curl -X POST http://localhost:5000/api/admin/create \\\n     -H \"Content-Type: application/json\" \\\n     -d '{\"username\":\"admin\",\"email\":\"admin@example.com\",\"password\":\"secure123\"}'\n   ```\n\n## 🚢 Deployment\n\n**Backend:** Heroku, Railway, DigitalOcean  \n**Frontend:** Vercel, Netlify  \n**Database:** MongoDB Atlas\n\nBuild for production:\n```bash\nnpm run build --prefix client\n```\n\n## 📖 API Endpoints\n\n### Products\n- `GET /api/products` - List products\n- `POST /api/products` - Create (admin)\n- `PUT /api/products/:id` - Update (admin)\n- `DELETE /api/products/:id` - Delete (admin)\n\n### Orders\n- `POST /api/orders` - Place order\n- `GET /api/orders` - List orders (admin)\n- `PUT /api/orders/:id/status` - Update status (admin)\n\n### Admin\n- `POST /api/admin/login` - Login\n- `GET /api/admin/profile` - Get profile (protected)\n- `PUT /api/admin/change-password` - Change password (protected)\n\n### Settings\n- `GET /api/settings` - Get settings (admin)\n- `PUT /api/settings` - Update settings (admin)\n- `GET /api/settings/shipping-rate?region=X` - Get shipping rate\n\n## 📞 Contact\n\n- **Email:** grazieoutfits@gmail.com\n- **Phone:** +92 318-6831-156\n- **WhatsApp:** +92 317-5837-684\n- **Location:** Islamabad, Pakistan\n\n## 📝 License\n\nISC\n\n---\n\n**Note:** Legacy static HTML files (index.html, style.css, etc.) are preserved for reference and can be removed after full deployment of the MERN stack version.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmirkashi%2Fgrazieoutfits","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmirkashi%2Fgrazieoutfits","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmirkashi%2Fgrazieoutfits/lists"}