Giter VIP home page Giter VIP logo

shop-server's Introduction

管理系统

该项目为【管理系统】后端部分

分支说明

1.x.x 该分支提供基础模版
2.x.x 计划添加业务功能(如:订单,商品等)

前端项目地址:shop-web-mgt

项目介绍

shop-server是【管理系统】后端项目,基于Spring boot实现。

项目说明

该项目致力于为开发者提供一套快速系统搭建模版,(包含:系统用户,菜单,权限,调度任务,常量,数据字典等功能) 以便开发人员专注于业务功能开发。

项目教程

项目演示

在线地址

文档相关

项目结构

为了方便合并和拆分项目,分两个模块:

  • shop-server-app c端api服务模块(简化描述叫 app)
  • shop-server-mgt 主要为shop-web-mgt提供接口 (简化描述叫 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

启动变量

数据库配置

变量名 默认值 说明
MYSQL_URL 127.0.0.1:3306 数据库地址
MYSQL_DATABASE cuteJ_shop 数据库
MYSQL_USER cuteJ_shop 用户名
MYSQL_PASSWORD cuteJ_shop123 密码

服务配置

变量名 默认值 说明
SERVER_PORT 8300 服务端口
SERVER_CONTEXT_PATH /shop 上下文
SERVER_SESSION_TIMEOUT 1800 管理后台Session超时时间(单位秒)
APP_CORS_ORIGIN http://localhost:9527 跨越配置(多个地址时,逗号分割)

Jwt

变量名 默认值 说明
JWT_HEADER Authorization 请求头
JWT_SECRET abkfdsfooi0934 密钥
JWT_EXPIRATION 86400 失效时间(单位秒)

OSS存储

变量名 默认值 说明
APP_OSS_KEY ossKey
APP_OSS_SECRET secret
APP_OSS_ENDPOINT 上传地址
APP_OSS_URL 访问地址
APP_OSS_BUCKET bucket

开发计划

  • 1.x 计划版本(1.0.0) 待测试
  • 2.x 待开发

致谢

许可证

MIT License

Copyright © 2020 icutej.com. All rights reserved.

shop-server's People

Contributors

onlythinking 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.