rest-hapi Documentation

website·Indexed 31 days ago

https://resthapi.com/docs/quick-start.html

A framework for generating REST endpoints based on model definitions, supporting Node.js ^8.10.0 and MongoDB. Features include automated CRUD operations, route authentication and authorization, Joi-based validation, model associations, soft delete functionality, audit logs, and auto-generated Swagger documentation via hapi-swagger. Documentation covers versions 1.6.x and 1.7.x.

Tokens
302.5K
Snippets
1.6K
Records
2.1K
Agent score
29%

What's inside rest-hapi

  1. Overview of rest-hapi REST API generator

    rest-hapi is a hapi plugin that automatically generates CRUD and association REST API endpoints based on mongoose schemas. It is designed to reduce boilerplate code and accelerate the development of MVPs by leveraging the hapi framework's modularity and configuration-driven approach.
  2. Overview of rest-hapi Mongoose wrapper methods

    rest-hapi provides a set of Mongoose wrapper methods for use in server-side code. Using these wrappers instead of standard Mongoose methods ensures that the following features are applied to the operation: middleware functionality, metadata support, soft delete support, association/relational management, and rest-hapi query support.
  3. Overview of rest-hapi Mongoose wrapper methods

    rest-hapi provides a set of wrapper methods for Mongoose that allow developers to perform database operations in server code while maintaining the benefits of the rest-hapi framework. Using these wrappers ensures that the following features are applied to the operation:

    • Middleware functionality
    • Metadata support
    • Soft delete support
    • Association/relational management
    • rest-hapi query support

    It is recommended to use named parameters instead of positional parameters, as named parameters support all available options, including the restCall simulation flag.

  4. Overview of rest-hapi REST API generator

    rest-hapi is a hapi plugin that automatically generates CRUD and association REST API endpoints based on Mongoose schemas. It is designed to reduce boilerplate code and accelerate the development of MVPs by leveraging hapi's modularity and configuration-over-code philosophy.
  5. Overview of rest-hapi Mongoose wrapper methods

    rest-hapi provides a set of Mongoose wrapper methods for use in server-side code. These wrappers extend standard Mongoose functionality by integrating rest-hapi features such as middleware, metadata support, soft delete, association/relational management, and rest-hapi query support. These methods are particularly effective when used with the model generating function to quickly implement rich, relational data structures.
  6. Overview of rest-hapi Mongoose wrapper methods

    rest-hapi provides a set of wrapper methods for Mongoose that allow developers to execute database operations within server code while maintaining the benefits of the rest-hapi framework. These benefits include middleware execution, metadata support, soft delete functionality, association/relational management, and the use of rest-hapi query parameters.

    These methods support both positional and named parameters, though named parameters are recommended as they support all available options, including the restCall parameter.

  7. Overview of rest-hapi Mongoose wrapper methods

    rest-hapi provides a set of Mongoose wrapper methods for use in server-side code. Using these wrappers instead of standard Mongoose methods ensures that the following features are applied to the operation: middleware functionality, metadata support, soft delete support, association/relational management, and rest-hapi query support.
  8. Overview of rest-hapi Mongoose wrapper methods

    rest-hapi provides a set of Mongoose wrapper methods for use in server-side code. These wrappers extend standard Mongoose functionality by integrating with rest-hapi features such as middleware, metadata support, soft deletes, association/relational management, and rest-hapi query syntax. These methods are particularly effective when used with the model generating function to quickly build relational data structures.
  9. Overview of rest-hapi Mongoose wrapper methods

    rest-hapi provides a set of Mongoose wrapper methods for use in server-side code. Using these wrappers instead of standard Mongoose methods ensures that the following features are applied: middleware functionality, metadata support, soft delete support, association/relational management, and rest-hapi query support.
  10. Overview of rest-hapi Mongoose wrapper methods

    rest-hapi provides a set of wrapper methods for Mongoose models to be used in server-side code. These wrappers provide built-in support for middleware, metadata, soft deletes, relational association management, and rest-hapi query parameters. They are designed to work seamlessly with the model generating function to simplify the creation of rich, relational data structures.
  11. Overview of rest-hapi Mongoose wrapper methods

    rest-hapi provides a set of Mongoose wrapper methods for use in server-side code. Using these wrappers instead of standard Mongoose calls ensures that the following features are applied: middleware functionality, metadata support, soft delete support, association/relational management, and rest-hapi query support. These methods support both positional and named parameters, though named parameters are recommended to access all available options like restCall.
  12. Overview of rest-hapi Mongoose wrapper methods

    rest-hapi provides a set of Mongoose wrapper methods for use in server-side code. Using these wrappers instead of direct Mongoose calls allows developers to leverage built-in rest-hapi functionality, including middleware, metadata support, soft delete, association/relational management, and rest-hapi query support.