Boilerplate

screenshot of Boilerplate

A friendly, proven starting place for your next hapi plugin or deployment

Overview

The hapi pal is a powerful and customizable framework for building applications with hapi.js. It supports the latest versions of hapi and Node.js and provides a range of features including debugging tools, file and folder conventions, integrations with popular tools, a test suite, deployment configuration, and best practices. The hapi pal is easy to get started with and offers flexibility through its flavors, which allow developers to choose the features that are most relevant to their project.

Features

  • Support for hapi v20+ and Node.js v12+: Ensures compatibility with the latest versions of hapi.js and Node.js.
  • hpal-debug hapi CLI debugging tools: Simplifies the process of debugging hapi applications.
  • Customizable hapi file and folder conventions using haute-couture: Provides clear and flexible file and folder organization for hapi projects.
  • Textbook integrations with Objection ORM, Swagger UI, and more via flavors: Offers seamless integration with popular tools and libraries through flavors.
  • Fully setup with a lab test suite and eslint configuration: Includes a comprehensive test suite and eslint configuration for ensuring code quality.
  • Powerful 12factor-oriented deployment configuration using confidence and dotenv: Provides a robust deployment configuration following the 12-factor app methodology.
  • Up-to-date versions of all dependencies: Ensures that the framework utilizes the latest versions of its dependencies.
  • Follows established hapi best practices out of the box: Adheres to industry best practices for hapi.js development.

Installation using hpal CLI:

$ npm install -g hpal
$ hpal create my-project
$ cd my-project

Manual installation using git:

$ git clone https://github.com/hapipal/hapipal.git
$ cd hapipal

Summary

The hapi pal is a powerful and customizable framework for building applications with the hapi.js framework. It offers a wide range of features including debugging tools, file and folder conventions, integrations with popular tools, a test suite, deployment configuration, and best practices. The framework supports the latest versions of hapi.js and Node.js and provides an easy installation process. With its flavors, developers can choose the specific features that are most relevant to their project. Overall, the hapi pal is a comprehensive solution for efficiently building scalable and maintainable hapi.js applications.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.