项目 / thecodeholic/laravel-vue-ecommerce

thecodeholic/laravel-vue-ecommerce

行业推荐
语言 PHP标签 —数据更新 2026-11-25 06:49:28 · 仓库 2026-11-19

一段话介绍

E-commerce project with Laravel and Vue.js

本站整理,非 GitHub 官方 description。

官方 description(GitHub API 原样)
E-commerce project with Laravel and Vue.js
701累计星
211Fork
—峰值日增
0上榜次数
总榜
暂未入榜
日榜
暂未入榜
周榜
暂未入榜
月榜
暂未入榜

官方快照(gh_history.db,2026-11-25):总榜 未进 Top50 · 日榜 未进 Top50 · 周榜未满 7 天基线(官方不生成) · 月榜暂无官方口径;下方四卡为站内趋势聚合(周卡按上榜次数,非官方 7 日增量窗)。

行业与场景

按行业选型 →

电商交易与订单履约

适配系统:交易中台、订单履约系统 · 得分 1.4

内置商品、购物车、订单与支付对象模型,可作为电商交易中台直接改造复用。

更多信息

以下三段按该项目自己的 GitHub README 章节摘录(可合理截断并标明);README 没有对应章节的留空,不编造。

我的用法
该项目需 MySQL、PHP8.1、Node.js 和 Composer 环境,Laravel 端经 composer install、配置 .env、迁移填充并 artisan serve 启动。
特点或设计要点
项目分成 Laravel 网站与 API,以及独立的 Vue.js 管理后台。默认 API 地址为 `http://localhost:8000`,可在 `backend/.env` 中修改。README 还给出了管理后台演示站和前台演示站的地址,供对照界面,但不在此重复登录信息。
星标走势还差一天的数据,明天就能看到曲线
每天 10:30 记一次星标,连续两天后自动生成曲线
首次发现 — · 最近在榜 2025-11-18 · 语言 PHP · 贡献者 —
php

GitHub 项目主页介绍

来自 GitHub 仓库 README / 主页介绍正文,原样摘录,共 1,604 字节。

# Laravel E-commerce Website
E-commerce application built with Laravel, Vue.js, Tailwind.css and Alpine.js. <br>

> If you want to see every single step how this E-commerce application is build and learn how to build your own Full Stack applications, check my website [thecodeholic.com](https://thecodeholic.com)

## Demo
Admin Panel: https://admin.lcommerce.net
```
Email: admin@example.com
Password: admin123
```

Website: https://lcommerce.net

```
Email: user1@example.com
Password: useruser1


Email: user2@example.com
Password: useruser2
```

## Installation 
Make sure you have environment setup properly. You will need MySQL, PHP8.1, Node.js and composer.

### Install Laravel Website + API
1. Download the project (or clone using GIT)
2. Copy `.env.example` into `.env` and configure database credentials
3. Navigate to the project's root directory using terminal
4. Run `composer install`
5. Set the encryption key by executing `php artisan key:generate --ansi`
6. Run migrations `php artisan migrate --seed`
7. Start local server by executing `php artisan serve`
8. Open new terminal and navigate to the project root directory
9. Run `npm install`
10. Run `npm run dev` to start vite server for Laravel frontend

### Install Vue.js Admin Panel
1. Navigate to `backend` folder
2. Run `npm install`
3. Copy `backend/.env.example` into `backend/.env`
4. Make sure `VITE_API_BASE_URL` key in `backend/.env` is set to your Laravel API host (Default: http://localhost:8000)
5. Run `npm run dev`
6. Open Vue.js Admin Panel in browser and login with
    ```
    admin@example.com
    admin123
    ```
↑