Skip to content

Machi3mfl/wz-test-app-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hapi.js REST API

A sample structure for building a REST API on top of hapi.js framework that consumes a Json File like a database.

$ git clone git@github.com:agendor/sample-hapi-rest-api.git
$ cd sample-hapi-rest-api
$ npm install

To start de api server in development mode

$ npm run dev

That's it! You should be able to play around your API GETting, POSTing, PUTing AND DELETEing Tasks. The end-points are as described in the /routes/*.js file:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published