This project is the backend part of [Management System]
For project execution maven errors, please check: issues/2
Branch description
1.xx This branch provides basic templates
2.xx plans to add business functions (such as: orders, products, etc.)
Front-end project address: shop-web-mgt
shop-server
is a [management system] back-end project, implemented based on Spring boot.
Project description
This project is committed to providing developers with a set of rapid system building templates (including: system users, menus, permissions, scheduling tasks, constants, data dictionary and other functions) so that developers can focus on business function development.
Online address
In order to facilitate the merging and splitting of projects, it is divided into two modules:
shop-web-mgt
(the simplified description is called mgt) shop-server
├── install -- 脚本文件
├── shop-server-api -- 公共模块(包含 model mapper 工具配置类等)
├── shop-server-app (包含 H5登录,各类小程序登录)
├── shop-server-mgt
git clone https://github.com/cuteJ/shop-server.git
cd shop-server
mvn clean install
git clone https://github.com/cuteJ/shop-server.git
cd shop-server
mvn clean install
# 编辑该文件 MS_HOME 目录 和需要自定义的变量
shop-server
├── install
├── shell
├── execute.sh
./execute.sh start
Database configuration
variable name | default value | illustrate |
---|---|---|
MYSQL_URL | 127.0.0.1:3306 | Database address |
MYSQL_DATABASE | cuteJ_shop | database |
MYSQL_USER | cuteJ_shop | username |
MYSQL_PASSWORD | cuteJ_shop123 | password |
Service configuration
variable name | default value | illustrate |
---|---|---|
SERVER_PORT | 8300 | service port |
SERVER_CONTEXT_PATH | /shop | context |
SERVER_SESSION_TIMEOUT | 1800 | Management background session timeout (unit seconds) |
APP_CORS_ORIGIN | http://localhost:9527 | Spanning configuration (when multiple addresses are separated by commas) |
wxya
variable name | default value | illustrate |
---|---|---|
JWT_HEADER | Authorization | Request header |
JWT_SECRET | abkfdsfooi0934 | key |
JWT_EXPIRATION | 86400 | Expiration time (unit seconds) |
OSS storage
variable name | default value | illustrate |
---|---|---|
APP_OSS_KEY | none | ossKey |
APP_OSS_SECRET | none | secret |
APP_OSS_ENDPOINT | none | Upload address |
APP_OSS_URL | none | Access address |
APP_OSS_BUCKET | none | bucket |
MIT License
Copyright © 2020 icutej.com. All rights reserved.