All Projects → iamdarcy → Hioshop Server

iamdarcy / Hioshop Server

Licence: mit
海风小店,开源商城,微信小程序商城服务器端

Projects that are alternatives of or similar to Hioshop Server

online-mall
一个全栈的在线商城示例,包括了管理后台的前端与后端,微信小程序和对应的接口后端
Stars: ✭ 95 (-71.3%)
Mutual labels:  thinkjs, element-ui
structure-admin
技术栈:nodeJS+vue+vuex+mysql+redis,前端使用vue的element-ui的组件库,后端使用nodeJS的服务,数据库mysql,缓存使用的还redis
Stars: ✭ 45 (-86.4%)
Mutual labels:  thinkjs, element-ui
Sqlite Parser
JavaScript implentation of SQLite 3 query parser
Stars: ✭ 279 (-15.71%)
Mutual labels:  plpgsql
Cgasm
We're insanely passionate about command line asm documentation in the cloud, and we're crushing it!
Stars: ✭ 321 (-3.02%)
Mutual labels:  plpgsql
Meguca
anonymous realtime imageboard focused on high performance and transparent moderation
Stars: ✭ 286 (-13.6%)
Mutual labels:  plpgsql
Vue Dbm
vuejs Database Manager数据管理系统——前端
Stars: ✭ 279 (-15.71%)
Mutual labels:  element-ui
Vue Project
基于vue-cli构建的财务后台管理系统(vue2+vuex+axios+vue-router+element-ui+echarts+websocket+vue-i18n)
Stars: ✭ 301 (-9.06%)
Mutual labels:  element-ui
Element Starter
A starter kit for Element UI generated by vue-cli
Stars: ✭ 2,982 (+800.91%)
Mutual labels:  element-ui
Vue Form Builder
Build powerful vue form with JSON schema and composition api.
Stars: ✭ 325 (-1.81%)
Mutual labels:  element-ui
Doracms
DoraCMS是基于Nodejs+eggjs+mongodb编写的一套内容管理系统,结构简单,较目前一些开源的cms,doracms易于拓展,特别适合前端开发工程师做二次开发。
Stars: ✭ 3,180 (+860.73%)
Mutual labels:  element-ui
Postgres Json Schema
JSON Schema validation for PostgreSQL
Stars: ✭ 319 (-3.63%)
Mutual labels:  plpgsql
Shkjem
基于Vue&ElementUI的企业官网
Stars: ✭ 281 (-15.11%)
Mutual labels:  element-ui
Cool Admin Midway
cool-admin(midway版)一个很酷的后台权限管理框架,模块化、插件化、CRUD极速开发,永久开源免费,基于midway.js 2.0、typeorm、mysql、jwt、element-ui等构建
Stars: ✭ 204 (-38.37%)
Mutual labels:  element-ui
Ktv Select music System
KTV点歌系统,含后台管理系统(完整版)
Stars: ✭ 305 (-7.85%)
Mutual labels:  element-ui
Vue Admin Design
基于vue + elementUI的管理系统模板
Stars: ✭ 279 (-15.71%)
Mutual labels:  element-ui
Plpgsql check
plpgsql_check is linter tool for language PL/pgSQL (native language for PostgreSQL store procedures).
Stars: ✭ 322 (-2.72%)
Mutual labels:  plpgsql
Wtm
Use WTM to write .netcore app fast !!!
Stars: ✭ 3,403 (+928.1%)
Mutual labels:  element-ui
Vue Scscms
基于koa2+mysql+vue2.0+Element阳光内容管理系统,模范学习Demo
Stars: ✭ 284 (-14.2%)
Mutual labels:  element-ui
Pointcloud
A PostgreSQL extension for storing point cloud (LIDAR) data.
Stars: ✭ 289 (-12.69%)
Mutual labels:  plpgsql
Dart Cms
这是一套基于nodejs+mongodb实现的电影网站cms系统.功能完备.欢迎star
Stars: ✭ 332 (+0.3%)
Mutual labels:  element-ui

海风小店,开源商城(服务端)

  • 基于开源项目NideShop重建,精简了一些功能的同时完善了一些功能,并重新设计了UI
  • 测试数据来自上述开源项目
  • 服务端api基于Node.js+ThinkJS+MySQL

目前基于海风小店已经上线的几款微信小程序商城

视频教程

https://www.bilibili.com/video/av89567916

本项目需要配合

微信小程序项目:GitHub: https://github.com/iamdarcy/hioshop-miniprogram
管理后台项目:GitHub: https://github.com/iamdarcy/hioshop-admin

阿里云主机优惠季立即去看看

本地开发环境配置

  • 克隆项目到本地
git clone https://github.com/iamdarcy/hioshop-server
  • 创建数据库hiolabsDB并导入项目根目录下的hioshop.sql
    推荐使用软件Navicat创建和管理数据库,也可以用以下命令创建:
CREATE SCHEMA `hiolabsDB` DEFAULT CHARACTER SET utf8mb4 ;

注意数据库字符编码为utf8mb4

  • 更改数据库配置 src/common/config/database.js
const mysql = require('think-model-mysql');

module.exports = {
    handle: mysql,
    database: 'hiolabsDB',
    prefix: 'hiolabs_',
    encoding: 'utf8mb4',
    host: '127.0.0.1',
    port: '3306',
    user: 'root',
    password: '123123', //你的密码
    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.hiolabs.com/api/pay/notify
  }
};
  • 安装依赖并启动
npm install
npm start

启动后,本地访问 http://127.0.0.1:8360/

上线需要以下准备工作:

  • 一个微信服务公众号
  • 阿里云服务器
  • 注册小程序
  • 完成认证的七牛
  • 完成API安全设置的微信商户,并绑定好小程序id(支付)
  • 阿里云物流api
  • 备案后的域名
  • 如果卖食品,还需要《食品经营许可证》

客服使用微信小程序官方提供的客服功能即可

具体进群交流 QQ群:824781955

功能列表

  • 首页:搜索、Banner、公告、分类Icons、分类商品列表
  • 详情页:加入购物车、立即购买、选择规格
  • 搜索页:排序
  • 分类页:分页加载商品
  • 我的页面:订单(待付款,待发货,待收货),足迹,收货地址

项目截图

请参考微信小程序项目:https://github.com/iamdarcy/hioshop-miniprogram

最近更新

  • 新增生成分享图的功能
    在src/common/config/config.js需要设置好已经开通https的七牛bucket的参数
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].