Code Monkey home page Code Monkey logo

sports-mall-server's Introduction

体育用品商城-服务端

GitHub stars GitHub forks GitHub watchers GitHub followers

GitHub issues GitHub license GitHub last commit GitHub release GitHub repo size in bytes HitCount language

架构:

  • MySQL 8
  • Java 11
  • Spring Boot 2
  • Vue.JS

功能

  • 垂直/水平轮播图展示管理
  • 商品分类展示管理
  • 商品搜索
  • 推荐商品管理展示
  • 订单管理
  • 购物车管理
  • 登录注册
  • 商品评论展示
  • 商品详情信息展示
  • 商品介绍跑马灯

部署

  1. 使用git克隆项目(Git是什么,如何使用?

    # 克隆后端文件到本地磁盘
    git clone https://github.com/itning/sports-mall-server
    # 克隆前端文件到本地磁盘
    git clone https://github.com/itning/sports-mall-client
  2. 打开前端文件夹

    安装之前确保你有node.jsyarn

    # 如果已经在前端文件夹内了,则不需要这个命令
    cd sports-mall-client
    # 安装依赖
    yarn install
  3. 后端建议使用idea打开本项目,不建议使用Eclipse或MyEclipse

    确保你有maven,并执行编译命令

    mvn clean compile

    不出意外会出现BUILD SUCCESS

  4. 数据库密码在哪改?

    在这

  5. 前端接口域名在哪改?

    在这

  6. 登录管理员账户?

    # 先插入管理员账户数据 用户名:admin 密码:admin
    INSERT INTO `mail_user` VALUES ('admin', NULL, '[email protected]', '2020-02-13 11:31:24.451000', '2020-02-13 11:31:24.451000', 'admin', '17588755691', '1');
  7. 运行项目:

    后端main方法直接运行

    前端执行以下命令进行开发运行

    yarn serve
  8. 数据库SQL文件?

    JPA自动建库建表不需要SQL文件。

项目预览

a

b

c

d

e

f

sports-mall-server's People

Contributors

itning avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

sports-mall-server's Issues

Issue with weak JWT signing key

Hi @itning,

Thanks for sharing the project and it's a nice one.

I noticed one issue - in the program com/sport/sportsmallserver/util/JwtUtils.java, it uses a short password (6 characters) as the signing key of JWT signatures.

JWT Best Practices require human-memorizable passwords MUST NOT be directly used as the key to a keyed-MAC algorithm such as “HS256”. RFC 7518 recommends to use a password that is as large as (or larger than) the derived key length in JSON web algorithms. Common JWT signature algorithms are HS256, HS384, and HS512.

And jjwt versions 0.10.0+ enforce this constraint. Please consider to replace it with a strong key, preferably stored in an environment variable or a vault, and build with a newer jjwt version.

Thanks,
@luchua-bc

添加图片url

图片地址怎么添加呢,是复制百度上某图片的连接地址,还是本地文件路径,谢谢作者大大告知

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.