# satserver **Repository Path**: suxianhua/satserver ## Basic Information - **Project Name**: satserver - **Description**: miningapp服务端 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-10-08 - **Last Updated**: 2021-01-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ### NideShop商城(服务端) + 服务端api基于Node.js+ThinkJS+MySQL + 计划添加基于Vue.js的后台管理系统、PC版、Wap版 ### 本地开发环境配置 + 克隆项目到本地 ``` git clone https://github.com/tumobi/nideshop ``` + 创建数据库nideshop并导入项目根目录下的nideshop.sql ``` CREATE SCHEMA `nideshop` DEFAULT CHARACTER SET utf8mb4 ; ``` > 注意数据库字符编码为utf8mb4 + 更改数据库配置 src/common/config/database.js ``` const mysql = require('think-model-mysql'); handle: mysql, database: 'nideshop', prefix: 'nideshop_', encoding: 'utf8mb4', host: '127.0.0.1', port: '3306', user: 'root', password: '你的密码', dateStrings: true }; ``` + 填写微信登录和微信支付配置 src/common/config/config.js ``` // default config module.exports = { default_module: 'api', weixin: { appid: '', // 小程序 appid secret: '', // 小程序密钥 mch_id: '', // 商户帐号ID partner_key: '', // 微信支付密钥 notify_url: '' // 微信异步通知,例:https://www.nideshop.com/api/pay/notify } }; ``` + 安装依赖并启动 ``` npm install npm start ``` 访问http://127.0.0.1:8360/ ### 功能列表 + 首页 + 分类首页、分类商品、新品首发、人气推荐商品页面 + 商品详情页面,包含加入购物车、收藏商品、商品评论功能 + 搜索功能 + 专题功能 + 品牌功能 + 完整的购物流程,商品的加入、编辑、删除、批量选择,收货地址的选择,下单支付 + 会员中心(订单、收藏、足迹、收货地址、意见反馈) ....