Skip to content

markbrown4/hapi-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hapi-api

A tutorial for Sitepoint on building JSON API's with Hapi.

Today, we'll be building the following API for a typical blog from scratch:

GET     /articles                articles#index
GET     /articles/:id            articles#show
POST    /articles                articles#create
PUT     /articles/:id            articles#update
DELETE  /articles/:id            articles#destroy
POST    /articles/:id/comments   comments#create
DELETE  /articles/:id/comments   comments#destroy
POST    /authentications         authentications#create

About

A sitepoint tutorial for Building JSON API's with Hapi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published