litemall README

The project's README from github.com/linlinjava/litemall. As one markdown file: README.md.

litemall

又一个小商场系统。

litemall = Spring Boot后端 + Vue管理员前端 + 微信小程序用户前端 + Vue用户移动端

项目代码

项目架构

技术栈

  1. Spring Boot
  2. Vue
  3. 微信小程序

功能

小商城功能

管理平台功能

快速启动

  1. 配置最小开发环境:

  2. 数据库依次导入litemall-db/sql下的数据库文件

    • litemall_schema.sql
    • litemall_table.sql
    • litemall_data.sql
  3. 启动小商场和管理后台的后端服务

    打开命令行,输入以下命令

    cd litemall
    mvn install
    mvn clean package
    java -Dfile.encoding=UTF-8 -jar litemall-all/target/litemall-all-0.1.0-exec.jar
    
  4. 启动管理后台前端

    打开命令行,输入以下命令

    cd litemall/litemall-admin
    npm install --registry=https://registry.npm.taobao.org
    npm run dev
    

    此时,浏览器打开,输入网址http://localhost:9527, 此时进入管理后台登录页面。

  5. 启动小商城前端

    这里存在两套小商场前端litemall-wx和renard-wx,开发者可以分别导入和测试:

    1. 微信开发工具导入litemall-wx项目;
    2. 项目配置,启用“不校验合法域名、web-view(业务域名)、TLS 版本以及 HTTPS 证书”
    3. 点击“编译”,即可在微信开发工具预览效果;
    4. 也可以点击“预览”,然后手机扫描登录(但是手机需开启调试功能)。

    注意:

    这里只是最简启动方式,而小商场的微信登录、微信支付等功能需开发者设置才能运行, 更详细方案请参考文档。

  6. 启动轻商城前端

    打开命令行,输入以下命令

    cd litemall/litemall-vue
    npm install --registry=https://registry.npm.taobao.org
    npm run dev
    

    此时,浏览器(建议采用chrome 手机模式)打开,输入网址http://localhost:6255, 此时进入轻商场。

    注意:

    现在功能很不稳定,处在开发阶段。

警告

  1. 本项目仅用于学习练习
  2. 本项目还不完善,仍处在开发中,不承担任何使用后果
  3. 本项目代码开源MIT,项目文档采用 署名-禁止演绎 4.0 国际协议许可

致谢

本项目基于或参考以下项目:

  1. nideshop-mini-program

    项目介绍:基于Node.js+MySQL开发的开源微信小程序商城(微信小程序)

    项目参考:

    1. litemall项目数据库基于nideshop-mini-program项目数据库;
    2. litemall项目的litemall-wx模块基于nideshop-mini-program开发。
  2. vue-element-admin

    项目介绍: 一个基于Vue和Element的后台集成方案

    项目参考:litemall项目的litemall-admin模块的前端框架基于vue-element-admin项目修改扩展。

  3. mall-admin-web

    项目介绍:mall-admin-web是一个电商后台管理系统的前端项目,基于Vue+Element实现。

    项目参考:litemall项目的litemall-admin模块的一些页面布局样式参考了mall-admin-web项目。

  4. biu

    项目介绍:管理后台项目开发脚手架,基于vue-element-admin和springboot搭建,前后端分离方式开发和部署。

    项目参考:litemall项目的权限管理功能参考了biu项目。

  5. vant--mobile-mall

    项目介绍:基于有赞 vant 组件库的移动商城。

    项目参考:litemall项目的litemall-vue模块基于vant--mobile-mall项目开发。

推荐

  1. Flutter_Mall

    项目介绍:Flutter_Mall是一款Flutter开源在线商城应用程序。

  2. Taro_Mall

    项目介绍:Taro_Mall是一款多端开源在线商城应用程序,后台是基于litemall基础上进行开发,前端采用Taro框架编写。

License

MIT Copyright (c) 2018-present linlinjava

litemall (linlinjava/litemall)

element-ui
Searching Database…

20.4K ·GitHub
What is this?litemall is a small open-source e-commerce system: a Spring Boot backend, a Vue admin frontend, a WeChat Mini Program for shoppers, and a Vue mobile web storefront.
How do I get it running locally?Set up MySQL, JDK 1.8+, Maven, Node.js and WeChat Developer Tools, import the three SQL files under litemall-db/sql into MySQL, then start the backend and each frontend from the command line.
Can I run a real store on this, or is it more of a demo?The README says the project is for learning and practice only: it is still incomplete, under active development, and the author accepts no liability for how it is used.
Why are there two WeChat mini program frontends?The repo ships litemall-wx and renard-wx as alternative shopper frontends; the README says developers can import and test each of them separately in WeChat Developer Tools.
What existing projects is litemall built on?Its database and litemall-wx come from nideshop-mini-program, the admin frontend extends vue-element-admin with page layouts from mall-admin-web, the Vue mobile storefront is based on vant--mobile-mall, and permission management references the biu project.
Are there related mall projects built on litemall?The README recommends FlutterMall, a Flutter online mall app, and TaroMall, a multi-platform mall whose backend is developed on top of litemall with a Taro-based frontend.
Creator
linlinjava
Size
24 MB
Stars
20.4K
Age
8y
Commits · 90 Days