https://github.com/gavindmello/celer
🚴 A dead simple REST framework
https://github.com/gavindmello/celer
framework http
Last synced: 7 months ago
JSON representation
🚴 A dead simple REST framework
- Host: GitHub
- URL: https://github.com/gavindmello/celer
- Owner: GavinDmello
- License: mit
- Created: 2016-11-16T13:09:56.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-02-05T10:47:42.000Z (almost 8 years ago)
- Last Synced: 2025-04-24T03:46:01.459Z (9 months ago)
- Topics: framework, http
- Language: JavaScript
- Homepage:
- Size: 16.6 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Celer   [](https://travis-ci.org/GavinDmello/celer.svg?branch=master) [](https://coveralls.io/github/GavinDmello/celer?branch=master)
A very simple REST framework implementation based on pure string matching and events.
-------------------------------------------------------
### Here is an example of the the usage :-
```js
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