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: