nunjucks-hapi - An extremely simple wrapper to use Nunjucks as a Hapi template engine

  •        1

A simple wrapper to let you use Nunjucks as a Hapi templating engine. If you want to go beyond the default configuration of Nunjucks, you need to configure an environment. Once that's done, you can do anything to the environment, like add filters or custom tags via extensions. This works just like the Nunjucks documentation says it does, with the exception that the path to templates is now required.

https://github.com/seldo/nunjucks-hapi

Dependencies:

lodash.defaults : ^3.1.0
nunjucks : ^2.3.0

Tags
Implementation
License
Platform

   




Related Projects

handlebars-layouts - Handlebars helpers which implement layout blocks similar to Jinja, Nunjucks (Swig), Pug (Jade), and Twig

  •    Javascript

Handlebars helpers which implement layout blocks similar to Jade, Jinja, Nunjucks, Swig, and Twig.Helpers are generated by passing in your instance of Handlebars. This allows you to selectively register the helpers on various instances of Handlebars.

hapi-swagger - A Swagger interface for HAPI

  •    Javascript

This is a OpenAPI (aka Swagger) plug-in for HAPI When installed it will self document the API interface in a project. Release Notes for v9.0.x which only supports hapi v17 and above. Note: For hapi versions below v17, you must use versions v7.x.x of this module.

learn-hapi - :sunny: Learn to use Hapi

  •    HTML

Happiness is learning how to use the Hapi.js (Node.js) web framework to build reliable/scalable apps faster. Hapi is the framework for rapidly building RESTful & Real-Time web applications and services with Node.js. Whether you are building a very simple API for your website/mobile app or a large scale, cache heavy, secure e-commerce website, hapi has you covered. Hapi will help get your server developed quickly with its wide range of configurable options.

good - hapi process monitoring

  •    Javascript

good is a hapi plugin to monitor and report on a variety of hapi server events as well as ops information from the host machine. It listens for events emitted by hapi server instances and pushes standardized events to a collection of streams.See the Reporter Interface section of the API documentation on how to configure reporters.

hoek - Node utilities shared amongst the extended hapi universe

  •    Javascript

Utility methods for the hapi ecosystem. This module is not intended to solve every problem for everyone, but rather as a central place to store hapi-specific methods. If you're looking for a general purpose utility module, check out lodash or underscore.The Hoek library contains some common functions used within the hapi ecosystem. It comes with useful methods for Arrays (clone, merge, applyToDefaults), Objects (removeKeys, copy), Asserting and more.


nes - WebSocket adapter plugin for hapi routes

  •    Javascript

nes adds native WebSocket support to hapi-based application servers. Instead of treating the WebSocket connections as a separate platform with its own security and application context, nes builds on top of the existing hapi architecture to provide a flexible and organic extension.The full client and server API is available in the API documentation.

hapi-ninja - Boilerplate Hapi server example. Node.js, Hapi, and Swig.

  •    Javascript

Create a base boilerplate example showing how easy it is to get started with Hapi as a web server. CSS Framework - None. Choose your own CSS preprocessor and CSS framework.

Hapi - Web and Services Application Framework for Node.js

  •    NodeJS

hapi is a simple to use configuration-centric framework with built-in support for input validation, caching, authentication, and other essential facilities for building web and services applications. hapi enables developers to focus on writing reusable application logic in a highly modular and prescriptive approach.

makemehapi - Self guided workshops to teach you about hapi.

  •    Javascript

Learn all about hapi through a series of self-guided challenges.makemehapi will run you through a series of challenges ranging from a basic "hello world" server then move on to more advanced exercises dealing with rendering views, handling uploads, and managing cookies.

HAPI - A spec for Humanized web APIs, aka HAPI

  •    Javascript

Question: Why should an API be humanized? Answer: Machines consume APIs, but people still write the software that run on those machines. HAPI addresses this problem by reducing all operations to simple requests that can be initiated and read by any standard web browser. API calls are reduced from a series of instructions into a single, self-documenting URL that can be clicked from an Email, chat, blog post (or anything else) with results that are simple enough to be read back over the phone in plain english.

hapi-auth-jwt2 - :lock: Secure Hapi

  •    Javascript

This node.js module (Hapi plugin) lets you use JSON Web Tokens (JWTs) for authentication in your Hapi.js web application.

hapi-socketio-redis-chat-example - :speech_balloon: Real-time Chat using Hapi

  •    Elm

Node.js Chat Apps are practically the "Hello World" of real-time apps. If you Google for "node.js chat example" you will see thousands of results! But ... 90% of the examples use Express.js, 95% use MongoDB to store data/messages and 100% have zero tests. So, this example is for the the people who prefer to have examples that are fully explained (including tests). As with all our examples we have a suite of tests.

aqua - :bulb: A website and user system starter

  •    Javascript

Boilerplates can be a huge time sink to maintain and I've decieded to archive this project. I started the work for upgrading to hapi v17 and using async/await instead of callbacks, that work can be found in the hapi-17-async-await branch.

apollo-server - :earth_africa: GraphQL server for Express, Connect, Hapi and Koa

  •    TypeScript

Apollo Server is a community-maintained open-source GraphQL server. It works with pretty much all Node.js HTTP server frameworks, and we're happy to take PRs for more! It works with any GraphQL schema built with the graphql-js reference implementation.Apollo Server is super easy to set up. Just npm install apollo-server-<variant>, write a GraphQL schema, and then use one of the following snippets to get started. For more info, read the Apollo Server docs.

university - Community learning experiment

  •    Javascript

Welcome to hapijs university. A community learning experiment utilizing the distributed classroom. The idea is simple - use GitHub as a platform for teaching people coding skills as a group, everyone is both a student and a teacher. The goal is to learn how to operate such a distributed classroom and then apply that pattern to other topics.hapijs/university started as a group coding learning experiment. The university developed an application covering the essentials of a hapi application: authentication, validation, application architecture, testing, and more. To track future development watch the issues list.

lout - API documentation generator

  •    Javascript

lout is a documentation generator for hapi servers, providing a human-readable guide for every endpoint using the route configuration. The module allows full customization of the output.You can find a live demo of lout using the unit tests routes. The routes are of course fake but you can get a grasp of what lout looks like given various inputs.