{"id":16183950,"url":"https://github.com/dev3h/snackie","last_synced_at":"2026-02-14T13:02:15.676Z","repository":{"id":158082493,"uuid":"583255506","full_name":"dev3h/snackie","owner":"dev3h","description":"This is a snack website project written in Laravel 8 and the database used is MySQL","archived":false,"fork":false,"pushed_at":"2025-03-18T10:05:01.000Z","size":20041,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-07T12:50:02.332Z","etag":null,"topics":["laravel","laravel-web","laravel-website","mysql","mysql-database","php","php7","website"],"latest_commit_sha":null,"homepage":"","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/dev3h.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}},"created_at":"2022-12-29T08:23:22.000Z","updated_at":"2025-03-18T10:05:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"75f4d874-3834-4454-a40d-73774d905c1d","html_url":"https://github.com/dev3h/snackie","commit_stats":null,"previous_names":["dev3h/snackie"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dev3h/snackie","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev3h%2Fsnackie","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev3h%2Fsnackie/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev3h%2Fsnackie/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev3h%2Fsnackie/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dev3h","download_url":"https://codeload.github.com/dev3h/snackie/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev3h%2Fsnackie/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29444043,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T12:43:28.304Z","status":"ssl_error","status_checked_at":"2026-02-14T12:43:14.160Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["laravel","laravel-web","laravel-website","mysql","mysql-database","php","php7","website"],"created_at":"2024-10-10T07:08:29.474Z","updated_at":"2026-02-14T13:02:15.659Z","avatar_url":"https://github.com/dev3h.png","language":"HTML","readme":"# **Project Overview**  \nThe online snack shopping website aims to provide a convenient, fast, and secure shopping experience for customers. The system focuses on:  \n\n- **Diverse Product Selection**: Offers a wide range of snacks, candies, beverages, and fast food.  \n- **User-Friendly Interface**: Optimized design for easy navigation and fast loading speed.  \n- **Flexible Payment Options**: Supports multiple secure payment methods.  \n- **Customer Support**: Live chat, product reviews, and shopping assistance.  \n- **Order \u0026 Customer Management**: Tracks purchase history, promotions, and personalized offers.  \n- **Analytics \u0026 Optimization**: Provides reports and insights to improve business strategies.  \n\n# **Purpose and Objectives**  \n\n## **Purpose**  \nTo build a reliable online shopping platform that meets customer needs and optimizes business operations.  \n\n## **Objectives**  \n- **Increase sales** through marketing, promotions, and excellent customer service.  \n- **Enhance user experience** with a seamless interface, fast performance, and a simplified ordering process.  \n- **Compete effectively in the market** by offering high-quality products at competitive prices.  \n- **Boost customer loyalty** with personalized discounts and dedicated support.  \n- **Optimize business management** through data analytics and reporting tools.  \n\n\n# Tech Stack:\n\n- Frontend: Blade - A templating engine for PHP that allows developers to create dynamic web pages using a simple and elegant syntax.\n- Backend: NestJS - A progressive Node.js framework for building efficient, reliable, and scalable server-side applications\n- Database: MySQL - A popular open-source relational database management system\n\n# Key Features\n\n## Customer\n\n-   View products: Customers can browse through products that are available for purchase on the website.\n-   Search for products by name: Customers can use the search function to find specific products they are interested in purchasing.\n-   Add products to cart: Customers can add products to their cart to keep track of items they want to purchase.\n-   Review products: Customers can leave feedback and reviews on products they have purchased to help other users make informed decisions.\n-   Login to make purchases: Customers can create an account and log in to complete purchases through the website.\n-   Online payment with **VNPAY**: Customers can securely and conveniently complete transactions using VNPAY, an online payment platform.\n\n## Admin\n\n-   Login to system: Administrators can securely log in to the system to access their dashboard and perform administrative tasks.\n-   Product management: Administrators can add, modify, and delete products from the website, and manage product categories and inventory levels.\n-   Staff account management: Administrators can create, modify, and delete staff accounts, and control staff access rights to the system.\n-   Sales performance tracking: Administrators can view sales performance data in the form of **charts and graphs** for easier analysis and decision-making.\n-   **Order management**: Administrators can receive and process customer orders, update order status, and track order fulfillment.\n\n# UC diagram\n![alt text](document/diagram/uc-customer.png)\n![alt text](document/diagram/uc-admin.png)\n\n| No. | Actor | Description |\n|----|--------------------------------------|-------------------------------------------------------------------------|\n| 1 | Customer |  Searches for and views product details, laces orders for products, Completes payments securely, Rates and reviews purchased products|\n| 2 | Admin | Manages categories, products, articles, coupons, staff accounts, orders, and reports  |\n\n# Database Schema\n![alt text](document/diagram/database.png)\n\n# Photo/Video Demo:\n\n### customer screens\n\n-   Some of screens customer\n\n[See more](document/screenshots/customer.md)\n\n\u003cdiv align='center'\u003e\n\u003cimg src='./document/screenshots/img/customer/home.png' align='center'  width='30%' title='customer shop'  style='border: 1px solid purple; margin: 5px;' /\u003e\n\u003cimg src='./document/screenshots/img/customer/login.png' width='32%'  title='customer login' align='center' style='border: 1px solid purple; margin: 5px;' /\u003e\n\u003cimg src='./document/screenshots/img/customer/cart.png' align='center' width='30%' title='customer cart'  style='border: 1px solid purple; margin: 5px;' /\u003e\n\u003c/div\u003e\n\n---\n\n### admin screens\n\n-   Some of screens admin\n\n[See more](document/screenshots/admin.md)\n\n\u003cdiv align='center'\u003e\n\u003cimg src='./document/screenshots/img/admin/login.png' width='30%'  title='admin login' align='center' style='border: 1px solid purple; margin: 5px;' /\u003e\n\u003cimg src='./document/screenshots/img/admin/dashboard.png' align='center'  width='30%' title='admin dashboard'  style='border: 1px solid purple; margin: 5px;' /\u003e\n\u003cimg src='./document/screenshots/img/admin/orders.png' align='center' width='30%' title='product manager'  style='border: 1px solid purple; margin: 5px;' /\u003e\n\u003c/div\u003e\n\n## Project Setup\n\n### Prerequisites\n-   **PHP**: 7.4 or higher\n-   **Composer**: A dependency manager for PHP\n-   **Laravel**: 8.x\n-   **MySQL**: A relational database management system\n\n```\n# Clone the repository\ngit clone \n\n# Navigate to the project directory\ncd snackie\n\n# Install dependencies\ncomposer install\n\n# Copy the .env.example file to .env\ncp .env.example .env\n\n# Generate the application key\nphp artisan key:generate\n\n# Run the migrations\nphp artisan migrate:fresh --seed\n\n# Start the development server\nphp artisan serve\n```\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev3h%2Fsnackie","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdev3h%2Fsnackie","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev3h%2Fsnackie/lists"}