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
The AI coach for teams, built on validated assessments. Icon
The AI coach for teams, built on validated assessments.

Cloverleaf is an assessment-backed AI Coach that fully understands your people and the context of their workday.

Give managers and teams proactive, contextual coaching to lead effectively, communicate clearly, and navigate real work situations as they happen.
Learn More
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