Coding Fun Node Js Building a RESTful API with Node js and Hapi Framework

Building a RESTful API with Node js and Hapi Framework





Learn how to create a simple RESTful API with request validation using Node.js, Joi, and the very convenient Hapi framework.

A written version of this video tutorial can be found at

Tags: , , , , , , , , , , , , ,

10 thoughts on “Building a RESTful API with Node js and Hapi Framework”

  1. Rakesh Kumar says:

    getting connection error
    server.connection({

    ^

    TypeError: server.connection is not a function

  2. nice video Nic ! Thanks!

  3. ./node_modules/nodemon/bin/nodemon.js server.js

    '.' is not recognized as an internal or external command,
    operable program or batch file.
    npm ERR! code ELIFECYCLE

    I am getting this error when I do npm start. Any help would be much appreciated. Thanks

  4. sir please tell us how to return nested json from data base ?

    like example

    { "username":"kuldep",
    "status":"t",
    "address":
    {
    "city":"mumbai",
    "state":"mah",
    "pincode":"56665",
    "street":"opo",
    "country":"IN"
    },

    "phone":
    {
    "type":"mob",
    "contactnumber":"4554546"
    },

    "family":
    {
    "spouse":"10",
    "children":"50",
    "brothers":"2",
    "sisters":"6"
    }

    }

  5. Rohit Khanna says:

    nice and useful post.. thanks for sharing :).. can you share something about hosting nodejs+hapi API onto azure?

  6. Jorge Fossi says:

    Thanks, Nick!!!!
    Cannot wait for the next one. 🙂

  7. This is very helpful.
    Much Thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *