0.3.2 • Published 10 years ago

ove v0.3.2

Weekly downloads
9
License
MIT
Repository
github
Last release
10 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

10 years ago

0.3.1

10 years ago

0.3.0

10 years ago

0.2.8

10 years ago

0.2.7

10 years ago

0.2.6

10 years ago

0.2.4

10 years ago

0.2.3

10 years ago

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.9

10 years ago

0.1.8

10 years ago

0.1.7

10 years ago

0.1.6

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.6

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago