微信小程序-小商城后台
JavaScript CSS HTML
Permalink
Failed to load latest commit information.
bin init Nov 24, 2016
common update paginate & WXBizDataCrypt Dec 27, 2016
controllers update paginate & WXBizDataCrypt Dec 27, 2016
db init Nov 24, 2016
logs init Nov 24, 2016
middlewares update paginate & WXBizDataCrypt Dec 27, 2016
models add help Dec 19, 2016
proxy update paginate & WXBizDataCrypt Dec 27, 2016
public add wechat Dec 21, 2016
routes add help Dec 19, 2016
test init Nov 24, 2016
views init Nov 24, 2016
.babelrc init Nov 24, 2016
.gitignore 修复订单分页BUG Dec 6, 2016
README.md update README Nov 24, 2016
apidoc.json update apidoc.json Dec 12, 2016
app.js init Nov 24, 2016
config.js add wechat Dec 21, 2016
package.json init Nov 24, 2016

README.md

m-mall-admin

Overview

This is a boilerplate application for building REST APIs in Node.js using ES6 and Express with Code Coverage and JWT Authentication.

backend technology Node.jsMongoDBRedisExpressES6

frontend technology Angular.jsIonicES6Webpack

Directory

Demo

Demonstration component

Features

Feature Summary
ES6 via Babel ES6 support using Babel.
Authentication via JsonWebToken Supports authentication using jsonwebtoken.

Getting Started

Clone the repo:

git clone git@github.com:skyvow/m-mall-admin.git
cd m-mall-admin

Install dependencies of backend:

npm install

Start server of backend:

# set DEBUG env variable to get debug logs
npm start

Install dependencies of frontend:

cd public
npm install

Start server of frontend:

# monitor file changes and automatically compile
npm run watch

Other commands:

# packaged and compressed files in a development environment
npm run test
# packaged and compressed files in a production environment
npm run build

Create API document:

# apiDoc creates a documentation from API annotations in your source code
npm run apidoc

Execute tests:

# compile with babel and run tests
npm test

Contributing

Contributions, questions and comments are all welcome and encouraged. For code contributions submit a pull request with unit test.

License

MIT