1.1.1 • Published 9 years ago

blue-hei v1.1.1

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

#BLUE.js

A JSON API Framework for NODE.js.

Official Website: http://blue.heineiuo.com

version: 0.1.0


##Get Started

1.Usenpm install blue-hei.

2.Create your app.js, and code like:

var blue = require('blue-hei');
var config = {}
var server = blue.createServer(config);

server.use('get', '/api/test', function(req, res, next){
  res.send({"hello": "world"})
  next()
});

server.listen(8080);

3.Open browser and goto http://127.0.0.1:8080/api/test.

##Public Functions

###server.use(method, uri, callback) The main way to write an API.

###server.listen(port) listen port.

##Private Functions ##Update ##Feature

1.1.1

9 years ago

1.1.0

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago