Coder Social home page Coder Social logo

buybuybuy-shoppingmall's Introduction

BuyBuyBuy-ShoppingMall

买买买购物网

JavaWeb项目,使用jsp+css+javascript实现页面展示,servlet接收处理请求,maven管理导入依赖。


购物网功能:

  1. 登录注册,输入格式的判断、验证码。

  2. 展示所有商品、单个商品、按类别展示商品。

  3. 购物车的实现。

  4. 订单记录的查看


运行环境

  • 编程语言:Java
  • JDK版本:1.8
  • 开发工具:IntelliJ IDEA 2021.3.3 / Maven
  • 数据库:MySQL 8.0.29
  • 服务器:Tomcat 9.0.39

数据库设计

用户表(user)

字段名 类型 注释
id int 用户id
name varchar(50) 用户名称
password varchar(50) 用户密码
phone varchar(11) 用户手机号码
address varchar(255) 用户收货地址

商品表(goods)

字段名 类型 注释
id int 商品id
name varchar(80) 商品名称
goods_info varchar(255) 商品信息
category varchar(30) 商品类别
price decimal(10,2) 商品价格
count int 商品数量
hot enum('是','否') 是否为热门商品
image varchar(255) 商品图片

订单表(orders)

字段名 类型 注释
id int 订单号
user_id int 用户id
goods_id int 商品id
goods_num int 商品数量

购买历史表(buy_history)

字段名 类型 注释
user_id int 用户id
goods_id int 商品id
time datetime 购买时间

运行结果

登录

注册

首页

商品分类

展示单个商品

购物车

订单查询


效果演示

http://120.76.43.48:8080/shop/

buybuybuy-shoppingmall's People

Contributors

agkite avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

ldzjk

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.