{"id":28290285,"url":"https://github.com/developer-shourav/carsure-frontend","last_synced_at":"2025-06-13T12:31:58.021Z","repository":{"id":287527224,"uuid":"964128627","full_name":"developer-shourav/CarSure-Frontend","owner":"developer-shourav","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-22T18:41:53.000Z","size":8677,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-22T02:13:04.472Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/developer-shourav.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,"zenodo":null}},"created_at":"2025-04-10T18:23:17.000Z","updated_at":"2025-04-22T18:41:57.000Z","dependencies_parsed_at":"2025-04-19T09:42:09.824Z","dependency_job_id":null,"html_url":"https://github.com/developer-shourav/CarSure-Frontend","commit_stats":null,"previous_names":["developer-shourav/carsure-frontend"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/developer-shourav/CarSure-Frontend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developer-shourav%2FCarSure-Frontend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developer-shourav%2FCarSure-Frontend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developer-shourav%2FCarSure-Frontend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developer-shourav%2FCarSure-Frontend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/developer-shourav","download_url":"https://codeload.github.com/developer-shourav/CarSure-Frontend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developer-shourav%2FCarSure-Frontend/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259644927,"owners_count":22889504,"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":[],"created_at":"2025-05-22T02:12:48.214Z","updated_at":"2025-06-13T12:31:57.986Z","avatar_url":"https://github.com/developer-shourav.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CarSure 🚗\n\n**CarSure** is a premium quality car buying and selling web application built with a modern tech stack. It supports role-based authentication, product and order management, and an intuitive, responsive UI. The platform allows users to securely purchase cars, manage profiles, and explore various models, brands, and categories.\n\n\u003e 🔗 **Live Demo:** [https://car-sure.vercel.app/](https://car-sure.vercel.app/)  \n\u003e 🌐 **Backend API:** [https://car-sure-backend.vercel.app/](https://car-sure-backend.vercel.app/)\n\n---\n\n## 🔥 Features\n\n### ✅ Public Features\n\n- **Home Page**\n\n  - Logo, Favicon, Navigation (Responsive Navigation bar)\n  - Banner with promotional highlights\n  - Ours specialty section\n  - Featured Products (8 max) with \"View All\" button\n  - Custom car making service section\n  - Our Brans section\n  - Car Gallery\n  - Testimonials section\n  - Frequently Asked Questions section\n  - Footer with links and social icons\n\n- **All Products Page**\n\n  - Text Search: brand, car name, or category\n  - Filters: price range, model, brand, category, availability\n  - Dynamic results based on filters\n  - Product cards with details and \"View Details\" button\n\n- **Product Details Page**\n\n  - Product image and specs\n  - “Buy Now” button linking to Checkout\n\n- **About Page**\n  - Mission statement\n  - Business overview\n\n### 🔒 Private \u0026 Role-Based Features\n\n- **Authentication**\n\n  - Register with name, email, and password\n  - Login with JWT stored in `localStorage`\n  - Logout clears session\n  - Default role: `user` \n\n- **Checkout**\n\n  - Prevent orders exceeding stock\n  - Show order summary and user info\n  - SurjoPay payment gateway integration\n  - \"Order Now\" confirmation flow\n\n- **Dashboard**\n  - **User Dashboard**\n    - View personal orders\n    - Update profile and password (with current password verification)\n  - **Admin Dashboard**\n    - Manage Users: deactivate accounts\n    - Manage Products: create, read, update, delete\n    - Manage Orders: update status, delete\n\n---\n\n## 🎨 UI/UX Highlights\n\n- Fully responsive design\n- Dark \u0026 Light mode support\n- Clean, accessible layout using Tailwind + ShadCN\n- Skeleton(instead of normal boring spinner/loader) during API calls\n- Toast notifications for user actions (e.g., login, errors, orders)\n\n---\n\n## 💻 Tech Stack\n\n### Frontend\n\n- **Vite + React + TypeScript**\n- **Tailwind CSS v4**\n- **Redux Toolkit** for state management\n- **ShadCN UI** for modern UI components\n- **React Router DOM** for routing\n- **React Hook Form** for form handling\n\n### Backend\n\n- **Node.js + Express**\n- **MongoDB + Mongoose**\n- **Zod Validation**\n- **JWT Authentication**\n- **Cloudinary** for image uploads\n- **SurjoPay** Payment Integration\n\n---\n\n## 🚀 Local Development Setup\n\n### Prerequisites\n\n- Node.js (v18 or above)\n- MongoDB\n- Cloudinary credentials\n- SurjoPay test credentials\n\n---\n\n### 🔧 Backend Setup\n\n```bash\n# Clone the repo\ngit clone https://github.com/developer-shourav/CarSure-Backend.git\ncd CarSure-Backend\n\n# Install dependencies\nnpm install\n\n# Add environment variables\n# Create a `.env` file and add:\nPORT=5000\nDATABASE_URI=your_mongodb_connection_string\nJWT_SECRET=your_jwt_secret\nCLOUDINARY_CLOUD_NAME=your_cloud_name\nCLOUDINARY_API_KEY=your_api_key\nCLOUDINARY_API_SECRET=your_api_secret\nSURJOPAY_SECRET=your_surjopay_secret\nSURJOPAY_STORE_ID=your_store_id\n\n# Start the server\nnpm run start:dev\n\n```\n\n### 🖥️ Frontend Setup\n\n```bash\n# Clone the repo\ngit clone https://github.com/developer-shourav/CarSure-Frontend.git\ncd CarSure-Frontend\n\n# Install dependencies\nnpm install\n\n# Start the app\nnpm run dev\n```\n\n---\n\n## 📽️ Project Introduction Video\n\n## Project Overview Video\n\n\u003ca href='https://drive.google.com/file/d/1jkaWCtRyiTNzr66utA6GmntsW322MY2S/view?usp=sharing' target=_blank\u003e\n    \u003cimg width='350px' src=\"https://i.ibb.co.com/0RjxFvKS/watch-video-button-01.png\" /\u003e\n\u003c/a\u003e\n\n---\n\n## 📂 Repositories\n\n- **Frontend GitHub Repo:** [github.com/developer-shourav/CarSure-Frontend](https://github.com/developer-shourav/CarSure-Frontend)\n- **Backend GitHub Repo:** [github.com/developer-shourav/CarSure-Backend](https://github.com/developer-shourav/CarSure-Backend)\n\n---\n\n## 🙌 Acknowledgements\n\nSpecial thanks to mentors, instructors, and the web dev community of Programming Hero for support.\n\n---\n\n## 📧 Contact\n\n**Developer:** Shourav Rajbongshi  \n**Email:** [developer.shourav1@gmail.com]  \n**LinkedIn:** [linkedin.com/in/developer-shourav](https://linkedin.com/in/developer-shourav)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeveloper-shourav%2Fcarsure-frontend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeveloper-shourav%2Fcarsure-frontend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeveloper-shourav%2Fcarsure-frontend/lists"}