# baugarten/node-restful

A library for quickly providing a REST API with express or connect

Repository: https://github.com/baugarten/node-restful
Canonical: https://ross.abutalabs.com/products/node-restful
Homepage: http://www.baugarten.me/node-restful/
Language: JavaScript
License Family: other
Last push: 2022-07-29T05:51:44+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5033, "days_push": 1496, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1300, forks 243 (observed 2026-08-28T04:04:17.589871+00:00)

## What it is
node-restful is a Node.js library that automatically generates RESTful CRUD routes for Mongoose models, registered on Express or Connect apps. It lets you expose MongoDB-backed resources with standard GET/POST/PUT/DELETE endpoints plus custom routes and before/after hooks in a few lines of code.

## Use cases
- generate rest api from mongoose models
- quickly scaffold crud endpoints in express
- expose mongodb collections as a restful api
- add custom routes to auto-generated rest resources
- build a node.js backend api with minimal boilerplate

## When to choose
- you use Express with Mongoose/MongoDB and want standard CRUD routes generated automatically
- you want a small library rather than a full framework for building a REST API
- you need hooks to run custom logic before or after resource operations

## When to avoid
- your project uses databases other than MongoDB or ORMs other than Mongoose
- you need a modern, actively maintained solution with recent Node.js compatibility
- you want GraphQL or non-REST API styles

## Facets
- artifact type: library
- maturity: maintenance
- function: api-framework, routing, web-framework
- domain: web-development, backend, apis
- platform: -
- tags: rest-api, express, mongoose, crud, mongodb, nodejs, javascript

## Member repositories
- baugarten/node-restful (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:17.589871+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:52:18.008874+00:00, confidence not recorded.
  - readme: https://github.com/baugarten/node-restful (fetched 2026-08-28T04:04:17.589871+00:00, sha 00c9da07b5ab)
  - registry_npm: https://registry.npmjs.org/node-restful (fetched 2026-08-29T12:10:05.059122+00:00, sha 86e1862f0a86)
- Data as of 2026-08-30T08:39:29.467469+00:00.
