0.3.2 • Published 9 years ago

ove v0.3.2

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

#ove

A powerful Node.js web framework.

Installation

npm install ove

Example

Use LiveScript:

require! \ove
app = ove!

app.use (next) ->
    console.log '%s [%s] %s', new Date, @method, @url
    next!

app.get \/ ->
    @send 'Hello ove!'

app.get \/user/:uid/ ->
    @json do
        uid: @params.uid

app.post \/user/create/ ->
    @json @form

app.run!

Use JavaScript:

var ove = require('ove');
app = ove();

app.use(function(next) {
    console.log('%s [%s] %s', new Date(), this.method, this.url);
    next();
});

app.get('/', function() {
    this.send('Hello ove!');
});

app.get('/user/:uid/', function() {
    this.json({
        uid: this.params.uid
    });
});

app.post('/user/create/', function() {
    this.json(this.form);
});

app.run();
0.3.2

9 years ago

0.3.1

9 years ago

0.3.0

9 years ago

0.2.8

9 years ago

0.2.7

9 years ago

0.2.6

9 years ago

0.2.4

9 years ago

0.2.3

9 years ago

0.2.2

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.1.9

9 years ago

0.1.8

9 years ago

0.1.7

9 years ago

0.1.6

9 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.6

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago