{"repo":"HongDiep18/Phone-sales-website","free":true,"listed":false,"github":"https://github.com/HongDiep18/Phone-sales-website","clone":"git clone https://github.com/HongDiep18/Phone-sales-website.git","description":"A responsive, multi-page smartphone retail e-commerce storefront and admin control panel built with pure HTML5, CSS3, and Vanilla JavaScript. Simulates client-side databases, user persistence, dynamic shopping carts, order pipelines, and analytical charts using LocalStorage.","language":"JavaScript","stars":19,"topics":["admin-dashboard","css3","ecommerce","html5","javascript","localstorage","static-website","vanilla-js","web-development"],"license":null,"category":"ecommerce","readme_excerpt":"Phone-sales-website — Thế giới điện thoại Đồ án môn Web 1: website tĩnh bán điện thoại (HTML, CSS, JavaScript). Giao diện tiếng Việt, dữ liệu mẫu kèm localStorage để mô phỏng đăng ký, giỏ hàng, đơn hàng và khu vực quản trị. Nếu repo hữu ích, bạn có thể cho một sao trên GitHub — cảm ơn bạn. --- Mục lục 1. Yêu cầu & cách chạy 2. Cấu trúc thư mục 3. Hướng dẫn sử dụng — khách hàng 4. Hướng dẫn sử dụng — quản trị (Admin) 5. Dữ liệu & localStorage 6. Tài khoản mặc định 7. Ghi chú khi phát triển / demo 8. Ảnh chụp màn hình --- 1. Yêu cầu & cách chạy Không cần cài Node.js hay build. Trình duyệt hiện đại (Chrome, Edge, Firefox) là đủ. Cách 1: Mở trực tiếp file HTML 1. Clone hoặc tải thư mục dự án về máy. 2. Mở file index.html bằng trình duyệt (kéo thả vào cửa sổ trình duyệt hoặc chuột phải → Open with). Lưu ý: Một số trình duyệt hạn chế file:// với script; nếu gặp lỗi, dùng Cách 2. Cách 2: Chạy qua máy chủ cục bộ (khuyến nghị) Dùng một trong các cách sau trong thư mục gốc dự án ( Phone-sales-website ): - VS Code / Cursor: cài extension “Live Server”, chuột phải index.html → Open with Live Server dạng link như(http://127.0.0.1:5500/index.html). - Python 3: python -m http.server 8080 rồi truy cập http://localhost:8080/ . - PowerShell (Windows, .NET): npx --yes serve (cần Node chỉ cho lệnh này) hoặc bất kỳ static server nào bạn quen. Trang chủ: index.html . Trang quản trị: admin.html . --- 2. Cấu trúc thư mục Đường dẫn Mô tả ---------------------------------------------------------------","default_branch":null,"files":null,"tree":[],"storefront":"/r/HongDiep18","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/HongDiep18/Phone-sales-website/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}