Table of Contents

 

Copyright

Brief Table of Contents

Table of Contents

Foreword

Preface

Acknowledgments

About this Book

About the cover Illustration

1. First steps

Chapter 1. Introducing hapi

1.1. What is hapi?

1.1.1. What makes hapi special?

1.1.2. What kind of framework is hapi.js?

1.2. The building blocks of hapi

1.2.1. Servers

1.2.2. Connections

1.2.3. Routes

1.2.4. Handlers

1.2.5. Plugins

1.3. When you should (and shouldn’t) use hapi

1.3.1. When you should use hapi

1.3.2. When you shouldn’t use hapi

1.4. How it works

1.4.1. Installing hapi

1.4.2. Creating a server

1.4.3. Adding routes

1.4.4. Registering a plugin

1.4.5. Taking it for a spin

1.5. Getting help

1.5.1. hapi.js website

1.5.2. Make Me hapi

1.5.3. GitHub

1.5.4. IRC

1.5.5. Stack Overflow

1.5.6. Read the code!

1.6. Summary

Chapter 2. Building an API