Aside from the content that you'll find on this site, there's also a lot of community-produced content that can help you learn how to be effective with hapi.js. If you've produced some content that you want to see on this list, please send us a pull request.

Books

  • hapi.js in Action

    Packed with examples, this book takes you from your first simple server through the skills you'll need to build a complete application. In it, you'll learn how to build websites and APIs, implement caching, authentication, validation, error handling, and a lot more. You'll also explore vital techniques for production applications, such as testing, monitoring, deployment, and documentation.

  • Developing a hapi Edge

    This book shows you how to build enterprise-quality web applications using the hapi service and application framework. By walking through the creation of a real web application, hapi-plugins.com, you will learn how to configure and start hapi, build out APIs, perform authentication, validation, caching, and so much more. You will also discover tips and tricks used in production hapi deployments regarding plugins, testing, debugging, and security. hapi was developed and is used within Walmart and has been battle tested during the most critical days of the year for e-commerce websites, Black Friday. It has proven itself to not only handle extremely high production loads at a breeze but is also a pleasure to work with. The aim of the framework was to address pitfalls in the other established out there, and it has done so without fail.

  • Getting Started with hapi.js

    This book introduces hapi.js and walks through the creation of your first working application using the out-of-the-box features hapi.js provides. Packed with real-world problems and examples, this book covers some of the basic concepts of hapi.js and Node.js and takes you through the typical journey you'll face when developing an application. Starting with easier concepts such as routing requests, building APIs serving JSON, using templates to build websites and applications, and connecting databases, we then move on to more complex problems such as authentication, model validation, caching, and techniques for structuring your codebase to scale gracefully. You will also develop skills to ensure your application's reliability through testing, code coverage, and logging. By the end of this book, you'll be equipped with all the skills you need to build your first fully featured application. This book will be invaluable if you are investigating Node.js frameworks or planning on using hapi.js in your next project.

Gists and code samples

Boilerplates

  • appy

    A user system leveraging rest-hapi to bootstrap your app.

  • aqua

    A website and user system. Implemented with React and Flux.

  • frame

    A user system API. Bring your own front-end.

  • generator-hapi-service

    Yeoman generator for hapi web services.

  • generator-hapi-style

    Yeoman generator for scaffolding hapi apps and plugins.

  • hapi-angular-quickstart

    Angular2 Quickstart example wrapped into a Hapi plugin.

  • hapi-api

    Lean hapi API Boilerplate with an opinionated view on project structure

  • hapi-dash

    A boilerplate hapi web and API server example, with frontend dashboard

  • hapi-ninja

    Boilerplate hapi server example. Node.js, hapi, and Swig.

  • hapi-react-starter-kit

    A hapi React Starter kit with react-router, redux, react-transform.

  • hapitodo

    A TodoMVC jQuery front-end with a Hapi back-end.

  • jolly

    Production ready boilerplate for hapi.js

  • mullet

    Boilerplate hapi Server with Facebook and React

  • rest-hapi

    A RESTful API generator built around the hapi framework and mongoose ODM.

  • rutha

    frontend stack for hapi (server, api) and Angular (client)

  • hanx.js

    Full-stack boilerplate with Node.js, hapi, PostgreSQL and AngularJS (MEAN.js port)

  • start-hapiness

    A Boilerplate that help you to create fast project with Hapi + MongoDB

  • snowflake-hapi-openshift

    Hapi Server running on OpenShift/local backed by MongoDB & Redis - Performance Tested with BlazeMeter & JMeter

  • hapi-struct

    Simple Hapi server boilerplate with user authentication (MongoDB)

  • testing-hapi

    Hapi API Server with Swagger Docs, Testing and Travis CI

Projects built with hapi.js

  • Postmile

    Postmile is a collaborative list making tool built using hapi.js, Node.js, and MongoDB.

  • Colonizers

    A HTML5 multiplayer game, based on the popular board game "Catan" by Klaus Teuber.

  • Paydash

    Worker payments dashboard for MGNREGA, India's employment guarantee programme.

  • MasteryJS

    Scalable API Server framework build on top of Hapi and Sequelize.

Tutorials

Videos