hapi-rest-starter-simple
hapi-rest-starter-simple copied to clipboard
A simple Hapi project that offers you a REST API based on Dogwater and Bedwetter.
Hapi REST API starter
Check out the corresponding blog post "How to create a REST API with Hapi" if you are interested in getting to know more about creating REST APIs with Hapi.
Installation
$ npm install
Start Server
$ npm start
What do you get?
A simple pizza REST API:
http://localhost:1337
GET /pizza
POST /pizza
GET /pizza/{id}
POST /pizza/{id}
PATCH /pizza/{id}
DELETE /pizza/{id}