Skip to content

kashishgupta1990/RESTfulHapiApi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RESTful Hapi Api

With the increasing popularity of Hapi in the Node community, it is a good option to build our API’s using this framework. Lets understand the Hapi framework and how easily we can define routes to build Hapi RESTful API for production ready environment. We will also be using some of the Hapi plugin’s for ease of API’s validation and to test routes.

Lets look at the API we want to build and what it can do.

Our Application

Hapi Routes

  • /api/user GET Get all the users.
  • /api/user POST Create a new user.
  • /api/user/{id} GET Get a single user.
  • /api/user/{id} PUT Update a user with new info.
  • /api/user/{id} DELETE Delete a user.

Refer my blog which describe and walk through step-by-step process of making RESTful Hapi API using NodeJS or iojs

Click me to read more.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published