1.0.0 • Published 9 years ago
m-mall-admin v1.0.0
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.js 、 MongoDB 、 Redis 、 Express 、 ES6
frontend technology Angular.js 、 Ionic 、 ES6 、 Webpack
Directory
- Demo
- Features
- Getting Started(#Getting Started)
- Contributing
- License
Demo
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-adminInstall dependencies of backend:
npm installStart server of backend:
# set DEBUG env variable to get debug logs
npm startInstall dependencies of frontend:
cd public
npm installStart server of frontend:
# monitor file changes and automatically compile
npm run watchOther commands:
# packaged and compressed files in a development environment
npm run test
# packaged and compressed files in a production environment
npm run buildCreate API document:
# apiDoc creates a documentation from API annotations in your source code
npm run apidocExecute tests:
# compile with babel and run tests
npm testContributing
Contributions, questions and comments are all welcome and encouraged. For code contributions submit a pull request with unit test.
License
MIT
1.0.0
9 years ago