An open API service indexing awesome lists of open source software.

https://github.com/denq/samurai.js

Js framework based on hapi.js
https://github.com/denq/samurai.js

Last synced: about 1 year ago
JSON representation

Js framework based on hapi.js

Awesome Lists containing this project

README

          

# samurai.js
This Js server side framework based on hapi.js.

# status
Project just by begined development.

# Run deveopment

gulp watch

or

node app.js --harmony

# Showly on browser

* http://localhost:5200/user/1 -get request from one row
* http://localhost:5200/users -get request from many rows

# CURL
curl -X GET http://localhost:5200/user/1;echo
curl -X POST http://localhost:5200/user/1;echo
curl -X PUT http://localhost:5200/user/1;echo
curl -X DELETE http://localhost:5200/user/1;echo

# Render templates
curl -X GET http://localhost:5200/users;echo

Outpad





Title


Hello World!

# Testing
lab tests/unit.js