User Pal

screenshot of User Pal

User boilerplate based on hapi-pal

Overview

The hapi pal with batteries included version offers a robust and seamless setup for developers looking to build applications utilizing the hapi framework. By mapping the entire hapi plugin API onto a structured file and folder convention, it streamlines the plugin development process through an intuitive haute-couture approach. With built-in integration to Objection ORM and configuration for PostgreSQL, this tool ensures that developing, testing, and deploying APIs is more efficient than ever.

This version comes equipped with all necessary dependencies and a structured framework that facilitates easy management of your API. Whether you’re a newcomer to hapi or an experienced developer, this tool provides features that can enhance your workflow and improve overall productivity.

Features

  • Supports hapi v19+: Ensures compatibility with the latest hapi framework, paving the way for modern development practices.
  • Plugin Construction: Offers a structured method for building plugins by organizing the hapi plugin API within files and folders.
  • Objection ORM Integration: Streamlined integration with Objection ORM through Schwifty, making data management straightforward.
  • Multi-SQL Dialect Compatibility: Although primarily configured for PostgreSQL, it supports any SQL dialect supported by knex, providing flexibility.
  • Swagger UI: Includes an easy-to-navigate interface for API documentation through Swagger, enhancing usability for developers and clients.
  • Pre-configured Testing Environment: Comes fully set up with a lab test suite and eslint configuration to ensure code quality and maintain consistency.
  • Latest Dependency Versions: Maintains up-to-date versions of all libraries and dependencies, minimizing security risks and enhancing functionality.
  • Case-insensitive Email Handling: Utilizes PostgreSQL's citext type for email columns to ensure unique identification, preventing common user authentication issues related to email casing.
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.