Skip to content

wushuangs/nodeMiddleWay

 
 

Repository files navigation

koa2-boilerplate

A minimal boilerplate of koa v2.

NPM Version NPM Downloads

Installation

Both ways you can start:

fork this repo & git clone the repo
npm install koa2-boilerplate

Command

Setup

npm install

Develop

npm start

Test

npm test

Dependencies

  • Watcher and hot-reload: nodemon
  • Test:
  • Build: babel
    • tools: babel-register
    • presets: babel-preset-es2015-node5
    • plugins: transform-async-to-generator, syntax-async-functions
  • Lint: You can choose the lint tool that you prefer.

Reference

License

MIT © GeekPlux

登录信息存储在cookie(页面使用) 接口调用都加入head中 页面调用服务接口 从cookie取信息 Node调用服务接口 从cookie取信息

About

node作为中间层调研项目

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 96.7%
  • HTML 1.6%
  • Other 1.7%