# diegohaz/rest

REST API generator with Node.js, Express and Mongoose

Repository: https://github.com/diegohaz/rest
Canonical: https://ross.abutalabs.com/products/rest
Language: JavaScript
License: MIT
License Family: permissive
Topics: mongoose, mongodb, rest, rest-api, yeoman-generator, boilerplate, jest
Last push: 2023-01-07T04:06:33+00:00

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

## Adoption (not part of the score)
Stars 1811, forks 305 (observed 2026-08-28T04:05:39.623631+00:00)

## What it is
A Yeoman generator that scaffolds RESTful API projects using Node.js, Express, and Mongoose. It generates customizable boilerplate with optional user authentication, social login, validation, tests, and API docs.

## Use cases
- scaffold a rest api with node and express
- generate mongoose crud endpoints
- bootstrap an express mongodb api boilerplate
- add user registration and social login to an api
- generate a new api endpoint in an existing project
- set up jest tests for an express api

## When to choose
- starting a new Express + MongoDB REST API from scratch
- you want opinionated RESTful best practices and validation out of the box
- you need optional auth, social login, and password reset endpoints generated for you

## When to avoid
- your stack is not Node.js/Express/Mongoose
- you prefer manually structuring your project or using a different framework
- you need an actively evolving generator with frequent updates

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: web-framework, api-framework, auth, boilerplate, cli, testing
- domain: web-development, backend, apis, developer-tools, databases
- platform: cli, cross-platform
- tags: yeoman-generator, express, mongoose, mongodb, rest-api, scaffolding, jest, passport, nodejs

## Member repositories
- diegohaz/rest (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:39.623631+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-30T03:21:15.546946+00:00, confidence not recorded.
  - readme: https://github.com/diegohaz/rest (fetched 2026-08-28T04:05:39.623631+00:00, sha 84604733d838)
- Data as of 2026-08-30T08:39:29.467469+00:00.
