JKHeadley/rest-hapi
🚀 A RESTful API generator for Node.js observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3595
- days_rel: n/a
- days_push: 1256
- n_releases_24m: 0
Adoption not part of the score
1181 stars · 155 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
rest-hapi is a hapi plugin that automatically generates RESTful CRUD and association API endpoints from mongoose schemas, with joi validation, route/document-level authorization, Swagger docs, and rich query parameters (search, sort, filter, paginate, embed). It combines relational-style associations with NoSQL flexibility so an API can be running in minutes.
Use cases
- generate a REST API from mongoose schemas
- scaffold CRUD endpoints for a MongoDB backend
- build a hapi.js API with swagger docs automatically
- add relational associations to a NoSQL API
- quickly prototype an API MVP with validation and auth
- add search, sort, filtering and pagination to API endpoints
When to choose
- you use the hapi framework with MongoDB/mongoose
- you want to go from data models to a documented API in minutes
- you need configurable CRUD, associations, validation, and swagger out of the box
When to avoid
- you don't use hapi or MongoDB
- you need fine-grained hand-written endpoint logic for most routes
- you need a project under active development - releases are infrequent
Facets
framework · maturity maintenance
api-framework web-framework orm middleware routing api-documentation authorization web-development backend apis databases developer-tools self-hosted hapi-plugin mongoose crud-generator swagger joi-validation mongodb rest-api-generator nosql nodejs javascript web-server
10 sources
- readme: https://github.com/JKHeadley/rest-hapi · fetched 2026-08-28 · f141fb068bfd
- homepage: https://resthapi.com · fetched 2026-08-29 · 201776e3f6e3
- site_page: https://www.resthapi.com/docs/quick-start · fetched 2026-08-29 · e4f84413ce1e
- site_page: https://www.resthapi.com/docs/creating-endpoints · fetched 2026-08-29 · 7cb9a63d0776
- site_page: https://www.resthapi.com/docs/associations · fetched 2026-08-29 · 527721fc1aa2
- site_page: https://resthapi.com/docs/introduction · fetched 2026-08-29 · eb0a19a214ed
- site_page: https://www.resthapi.com/docs/configuration · fetched 2026-08-29 · f38787249a8b
- site_page: https://www.resthapi.com/docs/querying · fetched 2026-08-29 · f15ab6f52f1a
- site_page: https://www.resthapi.com/docs/validation · fetched 2026-08-29 · 2807c8c404e1
- site_page: https://www.resthapi.com/docs/swagger-documentation · fetched 2026-08-29 · fe8eb0ea0d22
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| JKHeadley/rest-hapi | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="JKHeadley/rest-hapi")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem