Skip to content
A simple Hapi project that offers you a REST API based on Dogwater and Bedwetter.
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
README.md
index.js
package.json

README.md

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}  
You can’t perform that action at this time.