List of Listings
Chapter 1. Introducing hapi
Listing 1.1. A jellybean library rich in methods
Listing 1.2. A jellybean library rich in configuration options
Listing 1.3. A simple hapi app that uses all the building blocks
Listing 1.4. Creating a hapi server
Chapter 2. Building an API
Listing 2.2. Creating a connection to SQLite using sqlite3
Listing 2.3. Querying a database for all recipes and printing each recipe’s name
Listing 2.4. Using placeholders to safely include variables in a SQL query
Listing 2.5. index.js: the route for endpoint A
Get hapi.js in Action now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.