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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start 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