Node.js在线购物网站的研发

在线购物网站系统使用了当下流行的Node.js技术与Express.JS框架开发了购物网站,网站基于B/S的设计模式,集成了先进的理念与设计模式,前端运用Bootstrap更是为了网站今后的发展与移动设备做考


摘要: 目前,世界经济开始新一轮的增长,经济全球化趋势不断增强,以信息技术产业为先导的互联网经济不断的出现在大众的视野里。电子经济,信息经济等电子商务对传统的商品商务带来了巨大的冲击,降低了贸易的成本,简化了贸易的流程,提高了贸易的效率。互联网经济对传统体系的冲击,也代表了未来互联网的重要地位和未来主流的经济模式。本系统基于Node.js开源网络框架为基础,运用HTML ,JavaScript等语言,Express框架,用目前流行的bootstrap美化页面,后台运用Mysql数据库作为数据支持,主要实现了用户的注册,浏览商品,购买,结账,删除购物车,向用户推荐其他商品,方便用户选购,使用户通过购物平台挑选到心仪的产品。

关键词: 互联网经济,电子商务,Node.js,SQL,网站购物平台

Online shopping site development

Abstract: At present, the world economy has begun a new round of growth, and the trend of economic globalization has been continuously strengthened. The Internet economy, led by the information technology industry, is constantly appearing in the public's field of vision. Electronic commerce, information economy and other e-commerce have brought tremendous impact on traditional commodity commerce, reduced the cost of trade, simplified the flow of trade, and improved the efficiency of trade. The impact of the Internet economy on the traditional system also represents the important position of the Internet in the future and the future mainstream economic model. The system is based on the Node.JS open source network framework. It uses HTML, JavaScript and other languages and Express Framework .It uses the popular bootstrap to beautify the page and backend uses the SQL server2016 database as data support. It mainly implements the user's registration, browses goods, purchases, and accounts. Delete the shopping cart and recommend other products to the user are convenient for the user to purchase, so that the user can select the desired product through the shopping platform.

Keywords: Internet Economy, E-Commerce, Node.JS, SQL, Website Shopping Platform

目录

1 绪论 1

1.1 研究背景及意义 1

1.2 国内外研究现状与水平 1

1.3 发展趋势 2

1.4 文献综述 3

1.5 重点与难点 4

2 需求分析 5

2.1 实现目标 5

2.2 硬软件需求 5

2.2.1 硬件需求 5

2.2.2 软件需求 5

2.3 系统开发技术概述 5

2.3.1 Node.js 5

2.3.2 JavaScript 6

2.3.3 Bootstrap 7

2.3.4 Express 7

2.3.5 Ejs模板引擎 7

2.3.6 Mysql数据库 8

2.3.7 MVC模型 8

2.4 可行性分析 9

2.4.1 市场可行性 9

2.4.2 技术可行性 10

2.4.3 经济可行性 10

2.5 功能分析 10

2.5.1 用户对于系统的需求 10

2.5.2 管理员对于系统的需求 11

2.5.3 数据库需求分析 11

2.6 流程图 11

3 总体设计 15

3.1 系统功能结构设计 15

3.2 概要设计 15

3.2.1 系统设计模式 15

3.2.2 系统前端页面设计 16

3.2.3 系统后端设计 18

3.3 数据库设计 21

4 详细设计 22

4.1 注册模块设计 22

4.1.1 注册流程简述 22

4.1.2 模块主要代码文件 22

4.1.3 模块界面设计 22

4.2 登录模块设计 22

4.2.1 登录流程简述 22

4.2.2 模块主要代码文件 22

4.2.3 模块界面设计 22

4.3 商品模块设计 23

4.3.1 浏览商品简述 23

4.3.2 模块主要代码 23

4.3.3 商品模块界面设计 23

4.4 搜索模块设计 23

4.4.1 搜索模块设计简述 23

4.4.2 模块主要代码文件 23

4.4.3 搜索模块界面设计 23

5 网站测试 24

5.1 测试目的 24

5.2 测试方法 24

5.2.1 单元测试简述 24

5.2.2 白盒测试简述 24

5.2.3 黑盒测试简述 24

5.3 测试用例 24