Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 916 Bytes

Readme.md

File metadata and controls

33 lines (21 loc) · 916 Bytes

Celer   Build Status  Coverage Status

A very simple REST framework implementation based on pure string matching and events.


Here is an example of the the usage :-

const Celer = require('celer')
const celer = new Celer()

const PORT = 8888

celer.get('/hi', function(req, res) {
    res.send('Hello World')
})

celer.post('/hi', function(req, res) {
    res.send('Hello World')
})

celer.listen(PORT, function() {
    console.log("Server listening on: http://localhost:%s", PORT)
})

LICENSE

MIT