
Product
Socket Now Protects the Firefox Extension Ecosystem
Socket is bringing experimental protection to Firefox, scanning 97,000+ extensions in Mozilla's official directory for malware and risky updates.
rest-hapi
Advanced tools
rest-hapi is a hapi plugin that generates RESTful API endpoints based on mongoose schemas. It provides a powerful combination of relational structure with NoSQL flexibility. You define your data models and the rest is done for you. Have your API up and running in minutes!
rest-hapi is being sponsored by the following tool; please help to support us by taking a look and signing up to a free trial!

View the swagger docs for the live demo:
Or, for a more complete example, check out the appy api:
Check out the docs on the official site!
You need Node.js installed and you'll need MongoDB installed and running.

(NOTE: For an alternative quick start, check out his awesome yeoman generator for rest-hapi.)
$ git clone https://github.com/JKHeadley/rest-hapi-demo.git
$ cd rest-hapi-demo
$ npm install
$ ./node_modules/.bin/rest-hapi-cli seed
$ npm start
...have fun!
appy: A boilerplate web app.
rest-hapi-demo: A simple demo project implementing rest-hapi in a hapi server.
We welcome contributions to rest-hapi! These are the many ways you can help:
Please read our contribution guide to get started. Also note that this project is released with a Contributor Code of Conduct, please make sure to review and follow it.
Thanks goes to each one of our contributors! š
Support us with a monthly donation and help us continue our activities! Become a backer.
If you have any questions/issues/feature requests, please feel free to open an issue. We'd love to hear from you!
Like this project? Please star it!
rest-hapi is licensed under a MIT License.
FAQs
A RESTful API generator for hapi
The npm package rest-hapi receives a total of 139 weekly downloads. As such, rest-hapi popularity was classified as not popular.
We found that rest-hapi demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.Ā It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket is bringing experimental protection to Firefox, scanning 97,000+ extensions in Mozilla's official directory for malware and risky updates.

Research
/Security News
Three compromised Rust crates pulled in a malicious dependency that downloaded and executed cross-platform malware during Cargo builds.

Research
/Security News
Socket uncovered 77 linked Firefox extensions, including 40 that steal wallet secrets or credentials and 37 deceptive sports-score shells.