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
Go From AI Idea to AI App Fast Icon
Go From AI Idea to AI App Fast

One platform to build, fine-tune, and deploy ML models. No MLOps team required.

Access Gemini 3 and 200+ models. Build chatbots, agents, or custom models with built-in monitoring and scaling.
Try Free
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