Skip to content

leo300/simple-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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}  

About

sample hapi project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published