基于react, node.js, go开发的微商城(含微信小程序)
GPL-2.0 License
golang123 wemall3
$ git clone https://github.com/shen100/wemall.git
configuration.dev.json``configuration.json
, UploadImgDir
{wemall}/upload/img
, C:\dev\src\wemall\upload\img (Windows /dev/src/wemall/upload/img (Mac OS X Linux){
"go": {
"UploadImgDir": "" /**/
}
}
config.js
wemall/weixin/config``config.dev.js``config.js
nginx
wemall/nginx/dev.wemall.com.conf
nginx, wemall/nginx/server.key``wemall/nginx/server.crt
nginxdev.wemall.com.conf``server.key``server.crt
hosts 127.0.0.1 dev.wemall.com
wemall
use wemallwemall/sql/wemall.sql
:
wemall``root``test1234
wemall/configuration.json
wemall/nodejs
$ npm install
$ npm install --registry=https://registry.npm.taobao.org
wemall/nodejs
$ npm start
$ npm run staticServ
wemall``configuration.dev.json``configuration.json
,$ go run main.go
wemall/weixin``config.dev.js``config.js
, web
gopkg.in/kataras/iris.v6 | iris web |
github.com/jinzhu/gorm | gorm |
github.com/satori/go.uuid | uuid |
docs | |
config | |
controller | |
model | |
utils | |
nginx | nginx |
nodejs | |
sql | sql |
weixin | |
configuration.dev.json | |
main.go | go |
qq: 32550512
starstar
GPL Copyright (c) 2013-present, shen100