Top Related Projects
mall项目是一套电商系统,包括前台商城系统及后台管理系统,基于SpringBoot+MyBatis实现,采用Docker容器化部署。 前台商城系统包含首页门户、商品推荐、商品搜索、商品展示、购物车、订单流程、会员中心、客户服务、帮助中心等模块。 后台管理系统包含商品管理、订单管理、会员管理、促销管理、运营管理、内容管理、统计报表、财务管理、权限管理、设置等模块。
基于Spring+SpringMVC+Mybatis分布式敏捷开发系统架构,提供整套公共微服务服务模块:集中权限管理(单点登录)、内容管理、支付中心、用户管理(支持第三方登录)、微信平台、存储系统、配置中心、日志分析、任务和通知等,支持服务治理、监控和追踪,努力为中小型企业打造全方位J2EE企业级开发解决方案。
🔥 🎉newbee-mall是一套电商系统,包括基础版本(Spring Boot+Thymeleaf)、前后端分离版本(Spring Boot+Vue 3+Element-Plus+Vue-Router 4+Pinia+Vant 4) 、秒杀版本、Go语言版本、微服务版本(Spring Cloud Alibaba+Nacos+Sentinel+Seata+Spring Cloud Gateway+OpenFeign+ELK)。 前台商城系统包含首页门户、商品分类、新品上线、首页轮播、商品推荐、商品搜索、商品展示、购物车、订单结算、订单流程、个人订单管理、会员中心、帮助中心等模块。 后台管理系统包含数据面板、轮播图管理、商品管理、订单管理、会员管理、分类管理、设置等模块。
基于SOA架构的分布式电商购物商城 前后端分离 前台商城:Vue全家桶 后台管理系统:Dubbo/SSM/Elasticsearch/Redis/MySQL/ActiveMQ/Shiro/Zookeeper等
spring cloud + vue + oAuth2.0全家桶实战,前后端分离模拟商城,完整的购物流程、后端运营平台,可以实现快速搭建企业级微服务项目。支持微信登录等三方登录。
Quick Overview
LiteMall is an open-source mall system designed for small and medium-sized enterprises. It's a comprehensive e-commerce solution that includes both a Spring Boot backend and Vue-based admin and mobile interfaces. The project aims to provide a complete, easy-to-use, and customizable shopping platform.
Pros
- Full-stack solution with backend, admin panel, and mobile frontend
- Modular architecture allowing for easy customization and extension
- Comprehensive documentation and deployment guides
- Active community and regular updates
Cons
- Primarily documented in Chinese, which may be challenging for non-Chinese speakers
- Relatively complex setup process for beginners
- Limited built-in internationalization support
- Some reported issues with mobile responsiveness
Code Examples
- Example of adding a new product to the database:
LitemallGoods goods = new LitemallGoods();
goods.setName("New Product");
goods.setPrice(new BigDecimal("99.99"));
goods.setCategoryId(1);
goodsService.add(goods);
- Example of querying orders within a date range:
List<LitemallOrder> orders = orderService.querySelective(
null, null, OrderUtil.STATUS_PAY,
LocalDateTime.now().minusDays(7),
LocalDateTime.now(),
1, 10);
- Example of sending a system message to a user:
LitemallUser user = userService.findById(userId);
NotifyType type = NotifyType.SYSTEM;
String title = "Welcome";
String content = "Welcome to our mall!";
notifyService.notifyUser(user, type, title, content);
Getting Started
-
Clone the repository:
git clone https://github.com/linlinjava/litemall.git
-
Set up the database:
- Install MySQL and create a database named
litemall
- Import the SQL file from
litemall-db/sql/litemall_schema.sql
- Install MySQL and create a database named
-
Configure the application:
- Update
litemall-admin-api/src/main/resources/application.yml
with your database credentials - Update other configuration files as needed
- Update
-
Build and run the project:
cd litemall mvn clean package java -jar litemall-all/target/litemall-all-*-exec.jar
-
Access the admin panel at
http://localhost:8080/admin/index.html
Competitor Comparisons
mall项目是一套电商系统,包括前台商城系统及后台管理系统,基于SpringBoot+MyBatis实现,采用Docker容器化部署。 前台商城系统包含首页门户、商品推荐、商品搜索、商品展示、购物车、订单流程、会员中心、客户服务、帮助中心等模块。 后台管理系统包含商品管理、订单管理、会员管理、促销管理、运营管理、内容管理、统计报表、财务管理、权限管理、设置等模块。
Pros of mall
- More comprehensive and feature-rich e-commerce solution
- Extensive documentation and detailed tutorials for developers
- Active community with frequent updates and contributions
Cons of mall
- Higher complexity and steeper learning curve
- Requires more resources to run and maintain
- May be overkill for smaller projects or simpler e-commerce needs
Code Comparison
mall (Java):
@ApiOperation("Add product to cart")
@RequestMapping(value = "/add", method = RequestMethod.POST)
@ResponseBody
public CommonResult<CartItemVo> add(@RequestBody OmsCartItem cartItem) {
CartItemVo cartItemVo = cartItemService.add(cartItem);
return CommonResult.success(cartItemVo);
}
litemall (Java):
@PostMapping("add")
public Object add(@LoginUser Integer userId, @RequestBody LitemallCart cart) {
if (userId == null) {
return ResponseUtil.unlogin();
}
return cartService.add(userId, cart);
}
Both repositories provide e-commerce solutions, but mall offers a more extensive feature set and documentation at the cost of increased complexity. litemall is simpler and more lightweight, making it suitable for smaller projects or those new to e-commerce development. The code comparison shows that mall uses more detailed API documentation and a more structured response format, while litemall has a more straightforward approach with built-in user authentication.
基于Spring+SpringMVC+Mybatis分布式敏捷开发系统架构,提供整套公共微服务服务模块:集中权限管理(单点登录)、内容管理、支付 中心、用户管理(支持第三方登录)、微信平台、存储系统、配置中心、日志分析、任务和通知等,支持服务治理、监控和追踪,努力为中小型企业打造全方位J2EE企业级开发解决方案。
Pros of zheng
- More comprehensive and feature-rich, offering a wider range of modules and functionalities
- Better suited for large-scale enterprise applications with complex requirements
- Provides a more structured and modular architecture, allowing for easier scalability
Cons of zheng
- Steeper learning curve due to its complexity and extensive feature set
- May be overkill for smaller projects or simpler e-commerce applications
- Less focused on specific e-commerce functionalities compared to litemall
Code Comparison
zheng (Java):
@Service
@Transactional
public class UserServiceImpl implements UserService {
@Autowired
private UserMapper userMapper;
@Override
public UserDto getUserById(Long id) {
return userMapper.selectByPrimaryKey(id);
}
}
litemall (Java):
@Service
public class LitemallUserService {
@Resource
private LitemallUserMapper userMapper;
public LitemallUser findById(Integer userId) {
return userMapper.selectByPrimaryKey(userId);
}
}
Both projects use similar service layer implementations, but zheng tends to have more complex and feature-rich services, while litemall focuses on simpler, more specific e-commerce functionalities.
🔥 🎉newbee-mall是一套电商系统,包括基础版本(Spring Boot+Thymeleaf)、前后端分离版本(Spring Boot+Vue 3+Element-Plus+Vue-Router 4+Pinia+Vant 4) 、秒杀版本、Go语言版本、微服务版本(Spring Cloud Alibaba+Nacos+Sentinel+Seata+Spring Cloud Gateway+OpenFeign+ELK)。 前台商城系统包含首页门户、商品分类、新品上线、首页轮播、商品推荐、商品搜索、商品展示、购物车、订单结算、订单流程、个人订单管理、会员中心、帮助中心等模块。 后台管理系统包含数据面板、轮播图管理、商品管理、订单管理、会员管理、分类管理、设置等模块。
Pros of newbee-mall
- More comprehensive documentation and user guides
- Active community with frequent updates and bug fixes
- Includes additional features like a coupon system and user points
Cons of newbee-mall
- Steeper learning curve due to more complex architecture
- Heavier resource consumption, potentially affecting performance
- Less modular structure, making it harder to customize specific components
Code Comparison
newbee-mall:
@Autowired
private NewBeeMallGoodsService newBeeMallGoodsService;
@GetMapping("/goods/detail/{goodsId}")
public String detailPage(@PathVariable("goodsId") Long goodsId, HttpServletRequest request) {
NewBeeMallGoods goods = newBeeMallGoodsService.getNewBeeMallGoodsById(goodsId);
request.setAttribute("goodsDetail", goods);
return "mall/detail";
}
litemall:
@Autowired
private LitemallGoodsService goodsService;
@GetMapping("/goods/{id}")
public Object detail(@PathVariable Integer id) {
LitemallGoods goods = goodsService.findById(id);
return ResponseUtil.ok(goods);
}
Both projects implement similar e-commerce functionalities, but newbee-mall offers a more feature-rich experience at the cost of increased complexity. litemall, on the other hand, provides a simpler, more lightweight solution that may be easier to customize and maintain for smaller projects.
基于SOA架构的分布式电商购物商城 前后端分离 前台商城:Vue全家桶 后台管理系统:Dubbo/SSM/Elasticsearch/Redis/MySQL/ActiveMQ/Shiro/Zookeeper等
Pros of xmall
- More comprehensive e-commerce features, including a wider range of payment options and advanced order management
- Includes a separate admin dashboard for better management of the platform
- Offers integration with third-party services like Alipay and WeChat Pay
Cons of xmall
- More complex architecture, which may be harder to maintain and scale
- Less frequent updates and potentially lower community engagement
- Heavier resource requirements due to its more extensive feature set
Code Comparison
xmall (Product Service):
@Service
public class ProductServiceImpl implements ProductService {
@Autowired
private TbItemMapper itemMapper;
@Autowired
private TbItemDescMapper itemDescMapper;
// ... more dependencies and methods
}
litemall (Product Service):
@Service
public class LitemallGoodsService {
@Resource
private LitemallGoodsMapper goodsMapper;
@Resource
private LitemallGoodsSpecificationMapper specificationMapper;
// ... more dependencies and methods
}
Both projects use Spring Boot and follow similar service implementation patterns. However, xmall's codebase appears to be more extensive, reflecting its broader feature set. litemall's code structure seems more streamlined, potentially easier to understand and maintain for smaller-scale projects.
spring cloud + vue + oAuth2.0全家桶实战,前后端分离模拟商城,完整的购物流程、后端运营平台,可以实现快速搭 建企业级微服务项目。支持微信登录等三方登录。
Pros of paascloud-master
- More comprehensive microservices architecture, suitable for large-scale applications
- Includes advanced features like distributed transactions and service governance
- Offers a wider range of cloud-native technologies and integrations
Cons of paascloud-master
- Higher complexity and steeper learning curve
- Requires more resources to deploy and maintain
- May be overkill for smaller projects or simpler e-commerce applications
Code Comparison
paascloud-master (Spring Cloud configuration):
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
public class PaasCloudCoreApplication {
public static void main(String[] args) {
SpringApplication.run(PaasCloudCoreApplication.class, args);
}
}
litemall (Spring Boot configuration):
@SpringBootApplication
@EnableTransactionManagement
@MapperScan("org.linlinjava.litemall.db.dao")
public class Application {
public static void main(String[] args) {
SpringApplication.run(Application.class, args);
}
}
The code comparison shows that paascloud-master uses Spring Cloud annotations for microservices, while litemall uses a simpler Spring Boot setup with transaction management and MyBatis integration. This reflects the difference in architecture complexity between the two projects.
Convert designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual CopilotREADME
litemall
åä¸ä¸ªå°ååºç³»ç»ã
litemall = Spring Bootå端 + Vue管çåå端 + 微信å°ç¨åºç¨æ·å端 + Vueç¨æ·ç§»å¨ç«¯
项ç®ä»£ç
项ç®æ¶æ
ææ¯æ
- Spring Boot
- Vue
- 微信å°ç¨åº
åè½
å°åååè½
- é¦é¡µ
- ä¸é¢å表ãä¸é¢è¯¦æ
- åç±»å表ãå类详æ
- åçå表ãåç详æ
- æ°åé¦åã人æ°æ¨è
- ä¼æ å¸å表ãä¼æ å¸éæ©
- å¢è´
- æç´¢
- åå详æ ãååè¯ä»·ãååå享
- è´ç©è½¦
- ä¸å
- 订åå表ã订å详æ ã订åå®å
- å°åãæ¶èã足迹ãæè§åé¦
- 客æ
管çå¹³å°åè½
- ä¼å管ç
- åå管ç
- åå管ç
- æ¨å¹¿ç®¡ç
- ç³»ç»ç®¡ç
- é 置管ç
- ç»è®¡æ¥è¡¨
å¿«éå¯å¨
-
é ç½®æå°å¼åç¯å¢ï¼
-
æ°æ®åºä¾æ¬¡å¯¼å ¥litemall-db/sqlä¸çæ°æ®åºæ件
- litemall_schema.sql
- litemall_table.sql
- litemall_data.sql
-
å¯å¨å°ååºå管çåå°çå端æå¡
æå¼å½ä»¤è¡ï¼è¾å ¥ä»¥ä¸å½ä»¤
cd litemall mvn install mvn clean package java -Dfile.encoding=UTF-8 -jar litemall-all/target/litemall-all-0.1.0-exec.jar
-
å¯å¨ç®¡çåå°å端
æå¼å½ä»¤è¡ï¼è¾å ¥ä»¥ä¸å½ä»¤
cd litemall/litemall-admin npm install --registry=https://registry.npm.taobao.org npm run dev
æ¤æ¶ï¼æµè§å¨æå¼ï¼è¾å ¥ç½å
http://localhost:9527
, æ¤æ¶è¿å ¥ç®¡çåå°ç»å½é¡µé¢ã -
å¯å¨å°ååå端
è¿éåå¨ä¸¤å¥å°ååºå端litemall-wxårenard-wxï¼å¼åè å¯ä»¥åå«å¯¼å ¥åæµè¯ï¼
- 微信å¼åå·¥å ·å¯¼å ¥litemall-wx项ç®;
- 项ç®é ç½®ï¼å¯ç¨âä¸æ ¡éªåæ³ååãweb-viewï¼ä¸å¡ååï¼ãTLS çæ¬ä»¥å HTTPS è¯ä¹¦â
- ç¹å»âç¼è¯âï¼å³å¯å¨å¾®ä¿¡å¼åå·¥å ·é¢è§ææï¼
- ä¹å¯ä»¥ç¹å»âé¢è§âï¼ç¶åææºæ«æç»å½ï¼ä½æ¯ææºéå¼å¯è°è¯åè½ï¼ã
注æï¼
è¿éåªæ¯æç®å¯å¨æ¹å¼ï¼èå°ååºç微信ç»å½ã微信æ¯ä»çåè½éå¼åè 设置æè½è¿è¡ï¼ æ´è¯¦ç»æ¹æ¡è¯·åèææ¡£ã
-
å¯å¨è½»ååå端
æå¼å½ä»¤è¡ï¼è¾å ¥ä»¥ä¸å½ä»¤
cd litemall/litemall-vue npm install --registry=https://registry.npm.taobao.org npm run dev
æ¤æ¶ï¼æµè§å¨ï¼å»ºè®®éç¨chrome ææºæ¨¡å¼ï¼æå¼ï¼è¾å ¥ç½å
http://localhost:6255
, æ¤æ¶è¿å ¥è½»ååºã注æï¼
ç°å¨åè½å¾ä¸ç¨³å®ï¼å¤å¨å¼åé¶æ®µã
å¼å计å
å½åçæ¬v1.8.0
ç®å项ç®å¼åä¸ï¼åå¨è¯¸å¤ä¸è¶³ï¼ä»¥ä¸æ¯ç®åè§åçå¼å计åã
V 1.0.0 å®æ以ä¸ç®æ ï¼
- é¤äºé¨ååè½ï¼å¦ä¼æ å¸çï¼ï¼å°ååçä¼ååæ¹è¿åºæ¬ç»æï¼
- 管çåå°åºæ¬å®ç°ææ表çCRUDæä½ï¼
- å端æå¡è½å¤å¯¹åæ°è¿è¡æ£éªã
V 2.0.0 å®æ以ä¸ç®æ ï¼
- å°ååå管çåå°å®æææåºæ¬ä¸å¡ï¼
- 管çåå°å®ç°ç»è®¡åè½ãæ¥å¿åè½ãæéåè½ï¼
- ä¸å¡ä»£ç åç»è代ç è¿è¡è°æ´ä¼åï¼
- è½»ååçå¼åï¼
V 3.0.0 å®æ以ä¸ç®æ ï¼
- 管çåå°ä¸äºè¾ å©åè½
- å端æå¡å 强å®å ¨åè½ãé ç½®åè½
- ç¼ååè½ä»¥åä¼åä¸äºæ§è½
è¦å
- æ¬é¡¹ç®ä» ç¨äºå¦ä¹ ç»ä¹
- æ¬é¡¹ç®è¿ä¸å®åï¼ä»å¤å¨å¼åä¸ï¼ä¸æ¿æ ä»»ä½ä½¿ç¨åæ
- æ¬é¡¹ç®ä»£ç å¼æºMITï¼é¡¹ç®ææ¡£éç¨ ç½²å-ç¦æ¢æ¼ç» 4.0 å½é å议许å¯
è´è°¢
æ¬é¡¹ç®åºäºæåè以ä¸é¡¹ç®ï¼
-
项ç®ä»ç»ï¼åºäºNode.js+MySQLå¼åçå¼æºå¾®ä¿¡å°ç¨åºååï¼å¾®ä¿¡å°ç¨åºï¼
项ç®åèï¼
- litemall项ç®æ°æ®åºåºäºnideshop-mini-program项ç®æ°æ®åºï¼
- litemall项ç®çlitemall-wx模ååºäºnideshop-mini-programå¼åã
-
项ç®ä»ç»ï¼ ä¸ä¸ªåºäºVueåElementçåå°éææ¹æ¡
项ç®åèï¼litemall项ç®çlitemall-admin模åçå端æ¡æ¶åºäºvue-element-admin项ç®ä¿®æ¹æ©å±ã
-
项ç®ä»ç»ï¼mall-admin-webæ¯ä¸ä¸ªçµååå°ç®¡çç³»ç»çå端项ç®ï¼åºäºVue+Elementå®ç°ã
项ç®åèï¼litemall项ç®çlitemall-admin模åçä¸äºé¡µé¢å¸å±æ ·å¼åèäºmall-admin-web项ç®ã
-
项ç®ä»ç»ï¼ç®¡çåå°é¡¹ç®å¼åèææ¶ï¼åºäºvue-element-adminåspringbootæ建ï¼åå端å离æ¹å¼å¼ååé¨ç½²ã
项ç®åèï¼litemall项ç®çæé管çåè½åèäºbiu项ç®ã
-
项ç®ä»ç»ï¼åºäºæèµ vant ç»ä»¶åºç移å¨ååã
项ç®åèï¼litemall项ç®çlitemall-vue模ååºäºvant--mobile-mall项ç®å¼åã
æ¨è
-
项ç®ä»ç»ï¼Flutter_Mallæ¯ä¸æ¬¾Flutterå¼æºå¨çº¿åååºç¨ç¨åºã
-
项ç®ä»ç»ï¼Taro_Mallæ¯ä¸æ¬¾å¤ç«¯å¼æºå¨çº¿åååºç¨ç¨åºï¼åå°æ¯åºäºlitemallåºç¡ä¸è¿è¡å¼åï¼å端éç¨Taroæ¡æ¶ç¼åã
é®é¢
- å¼åè æé®é¢æè 好ç建议å¯ä»¥ç¨Issuesåé¦äº¤æµï¼è¯·ç»åºè¯¦ç»ä¿¡æ¯
- å¨å¼å交æµç¾¤ä¸åºè®¨è®ºå¼åãä¸å¡ååä½é®é¢
- å¦æççéè¦QQ群éæé®ï¼è¯·å¨æé®åå
å®æ以ä¸è¿ç¨ï¼
- 请ä»ç»é 读æ¬é¡¹ç®ææ¡£ï¼ç¹å«æ¯æ¯FAQï¼æ¥çè½å¦è§£å³ï¼
- 请é 读æé®çæºæ §ï¼
- 请ç¾åº¦æè°·æç¸å ³ææ¯ï¼
- 请æ¥çç¸å ³ææ¯çå®æ¹ææ¡£ï¼ä¾å¦å¾®ä¿¡å°ç¨åºçå®æ¹ææ¡£ï¼
- 请æé®åå°½å¯è½åä¸äºDEBUGæè æèåæï¼ç¶åæé®æ¶ç»åºè¯¦ç»çé误ç¸å ³ä¿¡æ¯ä»¥å个人对é®é¢çç解ã
License
MIT Copyright (c) 2018-present linlinjava
Top Related Projects
mall项目是一套电商系统,包括前台商城系统及后台管理系统,基于SpringBoot+MyBatis实现,采用Docker容器化部署。 前台商城系统包含首页门户、商品推荐、商品搜索、商品展示、购物车、订单流程、会员中心、客户服务、帮助中心等模块。 后台管理系统包含商品管理、订单管理、会员管理、促销管理、运营管理、内容管理、统计报表、财务管理、权限管理、设置等模块。
基于Spring+SpringMVC+Mybatis分布式敏捷开发系统架构,提供整套公共微服务服务模块:集中权限管理(单点登录)、内容管理、支付中心、用户管理(支持第三方登录)、微信平台、存储系统、配置中心、日志分析、任务和通知等,支持服务治理、监控和追踪,努力为中小型企业打造全方位J2EE企业级开发解决方案。
🔥 🎉newbee-mall是一套电商系统,包括基础版本(Spring Boot+Thymeleaf)、前后端分离版本(Spring Boot+Vue 3+Element-Plus+Vue-Router 4+Pinia+Vant 4) 、秒杀版本、Go语言版本、微服务版本(Spring Cloud Alibaba+Nacos+Sentinel+Seata+Spring Cloud Gateway+OpenFeign+ELK)。 前台商城系统包含首页门户、商品分类、新品上线、首页轮播、商品推荐、商品搜索、商品展示、购物车、订单结算、订单流程、个人订单管理、会员中心、帮助中心等模块。 后台管理系统包含数据面板、轮播图管理、商品管理、订单管理、会员管理、分类管理、设置等模块。
基于SOA架构的分布式电商购物商城 前后端分离 前台商城:Vue全家桶 后台管理系统:Dubbo/SSM/Elasticsearch/Redis/MySQL/ActiveMQ/Shiro/Zookeeper等
spring cloud + vue + oAuth2.0全家桶实战,前后端分离模拟商城,完整的购物流程、后端运营平台,可以实现快速搭建企业级微服务项目。支持微信登录等三方登录。
Convert designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual Copilot