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
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
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