Customize endpoints with configuration-based features and hapi plugins. Relational structure built into NoSQL documents based on mongoose schemas. Less time with boilerplate functionality and more time building awesome APIs! rest-hapi uses mongoose schemas to generate CRUD and association REST API endpoints on a hapi server. Think LoopBack but for hapi. We love the hapi framework and its style of modularity and configuration over code. We also love writing DRY code and leveraging tools that help go from idea to MVP as quickly as possible. rest-hapi aims to achieve this as an easy-to-use hapi plugin. Generating endpoints allows for a rich set of configurable features. Swagger docs provide a UI for your endpoints so you can easily interact with your data. Query parameter support for searching, sorting, filtering, pagination, and embedding of associated models.

Features

  • Search, sort, filter, paginate, and embed associated data
  • Query parameter, header, payload, and response validation using joi
  • Swagger docs provide a UI for your endpoints so you can easily interact with your data
  • Automatic generation of CRUD and association endpoints with middleware support
  • Route-level and document-level authorization
  • Swagger docs for all generated endpoints

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow rest-hapi

rest-hapi Web Site

Other Useful Business Software
Auth0 for AI Agents now in GA Icon
Auth0 for AI Agents now in GA

Ready to implement AI with confidence (without sacrificing security)?

Connect your AI agents to apps and data more securely, give users control over the actions AI agents can perform and the data they can access, and enable human confirmation for critical agent actions.
Start building today
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of rest-hapi!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Documentation Software, JavaScript CRUD Generators

Registered

2022-09-08