Git Product home page Git Product logo

wyuange / youlai-mall Goto Github PK

View Code? Open in Web Editor NEW

This project forked from youlaitech/youlai-mall

0.0 0.0 0.0 93.89 MB

有来商城youlai-mall一套全栈的商城系统。整个系统采用微服务架构,前后端分离交互模式。后端采用Spring Boot+Spring Cloud+Spring Cloud Alibaba。前端采用vue+element-ui,基于成熟的后端前台解决方案vue-element-admin。微信小程序端使用uni-app。

Home Page: http://www.youlai.store

License: Other

Java 96.51% Batchfile 1.48% Shell 2.01%

youlai-mall's Introduction

项目简介

youlai-mall是集成当前最新主流技术一套开源的商城系统。整个系统采用微服务架构,前后端分离交互模式。业务模块包括了商品管理、订单管理、营销管理、会员管理等。

项目预览

线上地址: www.youlai.store

项目结构

youlai-mall
├── document
    ├── DEFAULT_GROUP.zip -- Nacos配置包
    ├── youlai.sql      -- 数据库初始化脚本
    ├── youlai-mall.sql -- 数据库初始化脚本
├── mall-oms
    ├── oms-api -- 订单微服务的远程调用客户端
    ├── oms-biz -- 订单微服务
├── mall-pms
    ├── pms-api -- 商品微服务的远程调用客户端
    ├── pms-biz -- 商品微服务
    ├── pms-search -- 商品搜索微服务
├── mall-sms
    ├── sms-api -- 营销微服务的远程调用客户端
    ├── sms-biz -- 营销微服务
├── mall-ums
    ├── ums-api -- 会员微服务的远程调用客户端
    ├── ums-biz -- 会员微服务
├── youlai-admin 
    ├── admin-api -- 后台管理微服务的远程调用客户端
    ├── admin-biz -- 后台管理微服务
├── youlai-auth     -- 认证中心
├── youlai-common   -- 公共模块
└── youlai-gateway  -- Spring Cloud Gateway网关
└── youlai-registry -- Nacos注册中心 

技术栈

后端技术 版本号
SpringBoot 2.3.4.RELEASE
SpringCloud Hoxton.SR8
SpringCloud Alibaba 2.2.2.RELEASE
Spring Security OAuth2 2.2.4.RELEASE
MyBatis Plus 3.4.0
Druid 1.1.23
Lombok 1.18.12
Knife4j 2.0.4
管理前端技术 版本号
Vue 2.6.10
Element-UI 2.13.2
微信小程序技术 版本号
Vue 2.6.10
uni-app 2.8.11

快速启动

1. 启动后端微服务

  1. 本机安装Redis,IDEA安装Lombok插件。
  2. 拉取并导入 youlai-mall
  3. 启动nacos服务。 IDEA进入Terminal命令终端切到youlai-registry/nacos/bin目录,执行命令 startup -m standalone。nacos启动后在控制台导入项目下的document/DEFAULT_GROUP.zip配置。
  4. 启动youlai-gateway、youlai-auth,youlai-admin基础微服务。

注:默认使用云数据库无需修改数据库连接配置和redis配置,如果需要搭建本地请修改对应配置信息即可。

重要提示: 求大家别在云环境修改数据库和相关配置!自己这套环境开放出来供大家学习本来就冒着很大风险,精力也有限,望大家理解,谢谢了。

2. 启动管理前端

  1. 本机安装Python和Node.js
  2. 拉取并导入 youlai-mall-admin
  3. npm install
  4. npm run dev
  5. 浏览器打开 http://localhost:9527

3. 启动微信小程序

请参考 vue+uniapp商城实战 | 第一篇:【有来小店】微信小程序快速开发接入Spring Cloud OAuth2认证中心完成授权登录

项目文档

后端

  1. Spring Cloud实战 | 第一篇:Windows搭建Nacos服务
  2. Spring Cloud实战 | 第二篇:Spring Cloud整合Nacos实现注册中心
  3. Spring Cloud实战 | 第三篇:Spring Cloud整合Nacos实现配置中心
  4. Spring Cloud实战 | 第四篇:Spring Cloud整合Gateway实现API网关
  5. Spring Cloud实战 | 第五篇:Spring Cloud整合OpenFeign实现微服务之间的调用
  6. Spring Cloud实战 | 第六篇:Spring Cloud Gateway+Spring Security OAuth2+JWT实现微服务统一认证授权
  7. Spring Cloud实战 | 最七篇:Spring Cloud Gateway+Spring Security OAuth2集成统一认证授权平台下实现注销使JWT失效方案
  8. Spring Cloud实战 | 最八篇:Spring Cloud +Spring Security OAuth2+ Vue前后端分离模式下无感知刷新实现JWT续期
  9. Spring Cloud实战 | 最九篇:Spring Security OAuth2认证服务器统一认证自定义异常处理

管理前端

  1. vue-element-admin实战 | 第一篇: 移除mock接入后台,搭建有来商城youlai-mall前后端分离管理平台
  2. vue-element-admin实战 | 第二篇: 最小改动接入后台实现根据权限动态加载菜单

微信小程序

  1. vue+uniapp商城实战 | 第一篇:【有来小店】微信小程序快速开发接入Spring Cloud OAuth2认证中心完成授权登录

问题

项目在搭建的过程中如您遇到任何问题,可以联系我(微信号:haoxianrui),不能及时回复也可以在github提issue。

youlai-mall's People

Contributors

dongtiandexue avatar haoxianrui avatar xbcmz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.