1 Star 1 Fork 0

young-mall / young-mall

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

young-mall

介绍

此项目采用SpringBootSpring SecurityMybatisRedis等建立起来的一整套商城,后端管理系统采用Vue,用户端采用微信小程序。用于把最近学习的东西融合到一块,未来将持续更新,后续补全文档。

项目文档

后台系统Swagger-ui文档:https://youngqz.cn/mall-admin/doc.html

前台系统Swagger-ui文档:https://youngqz.cn/mall-client/doc.html

项目目录

mall
├── doc	---------------->笔记
├── young-admin -------->后台系统
├── young-client-api --->前台系统
├── young-common ------->工具类及通用代码  
├── young-db ----------->MyBatisGenerator生成的数据库操作代码
└── young-security ----->SpringSecurity封装公用模块

环境搭建

工具 说明 官网
IDEA 开发IDE https://www.jetbrains.com/idea/download
RedisDesktop redis客户端连接工具 https://github.com/qishibo/AnotherRedisDesktopManager
finalshell Linux远程连接工具 http://www.hostbuf.com/downloads/finalshell_install.exe
Navicat 数据库连接工具 http://www.formysql.com/xiazai.html
Snipaste 屏幕截图工具 https://www.snipaste.com/
Postman API接口调试工具 https://www.postman.com/
Typora Markdown编辑器 https://typora.io/

开发环境

工具 版本号 下载
JDK 1.8 https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Mysql 5.7 https://www.mysql.com/
Redis 5.0 https://redis.io/download
Nginx 1.10 http://nginx.org/en/download.html

搭建步骤

1、windows环境

只需要clone项目到本地,确保开发环境正确,直接运行即可

2、linux环境

1)、本地执行maven命令:clean install -pl young-common,young-db,young-security -am

2)、把jar包上传到linux服务器

3)、执行脚本(脚本在)项目的doc/deploy/sh目录下

​ 把jar包分别拷贝到young-mall-adminyoung-mall-client目录下

​ 分别执行admin-start.shclient-start.sh脚本即可

4)、查看日志,日志在 /young-mal/${APP_NAME}/logs/${APP_NAME}/ 目录下

 tailf young-mall-admin.2020-12-29.0.log 

3、jenkins环境部署

目前jenkins部署只是简单的使用Jenkins远程打包,把jar包发送到目标机器,并执行脚本,其实就是把linux环境部署的步骤实现自动化

具体配置查看doc/deploy/jenkins-deploy.md文档

致谢

  1. dts-mall

    项目参考:

    1. young-mall项目数据库基于dts-mall项目数据库 2. 后端代码以及前端代码参考dts-mall 3. 替换原项目的shiroSpring Security
  2. mall-admin-web

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

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

许可证

MIT License

MIT License Copyright (c) 2020 yqzzyg Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

此项目采用SpringBoot、Spring Security、Mybatis等建立起来的一整套商城,后端管理系统采用Vue,用户端采用微信小程序。用于把最近学习的东西融合到一块,未来将持续更新,增加秒杀seckill、ELK日志,后续补全文档 展开 收起
Java
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Java
1
https://gitee.com/young-mall/young-mall.git
git@gitee.com:young-mall/young-mall.git
young-mall
young-mall
young-mall
master

搜索帮助