Skip to content

IndexXuan/v2ex-api-bridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

V2EX

v2ex-api-bridge

Development

$ npm install(recommend: yarn install) $ npm run dev

Node.js >= 7.6.0 required(support native async & await).

Features

  • ✔︎ Full APIs Wrapped
  • ✔︎ RESTful Style
  • ✔︎ 30+ Case, 100% Unit Test(BDD)

Unit Test

  • [mocha], [thunk-mocha], [power-assert], [istanbul] is build-in to [egg-bin], so you can just use it.
  • [power-assert] is very powerful.
  • see egg unit test docs for more detail.

npm scripts

  • Use npm start to run server
  • Use npm run dev to dev
  • Use npm test to run unit test.

Todo

  • use router prefix
  • use middleware in router
  • more & more
  • develop webapp using this apis

Links

About

V2EX APIs - powered by Egg(Node.js 7.6.0+) docs:https://indexxuan.github.io/v2ex-api-bridge/api/index.html

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published