# trailsjs/trails

:evergreen_tree: Modern Web Application Framework for Node.js.

Repository: https://github.com/trailsjs/trails
Canonical: https://ross.abutalabs.com/products/trails
Homepage: http://trailsjs.io
Language: JavaScript
License: NOASSERTION
License Family: other
Topics: node, framework, web-framework, trails
Last push: 2018-06-30T19:12:47+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": 3933, "days_push": 2986, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1650, forks 61 (observed 2026-08-28T04:05:16.865967+00:00)

## What it is
Trails is a convention-based web application framework for Node.js inspired by Rails and Grails, using a plugin system called Trailpacks to integrate routers, ORMs, and servers like Express or Hapi. It provides Yeoman-based scaffolding for models, controllers, policies, and services.

## Use cases
- build a REST API in Node.js with convention-based structure
- scaffold a Node.js web application like Rails
- build microservices with a modular plugin framework
- swap between Express and Hapi servers in one framework
- rapidly generate models, controllers, and services

## When to choose
- you want a Rails-style convention-over-configuration framework in Node.js
- you need a pluggable architecture for mixing Express/Hapi with different ORMs

## When to avoid
- you need an actively maintained framework - the last release was 2018
- you prefer minimal, unopinionated tooling
- you need modern Node.js version support and ecosystem compatibility

## Facets
- artifact type: framework
- maturity: abandoned
- function: web-framework, routing, middleware, orm
- domain: web-development, backend, apis
- platform: cross-platform
- tags: rails-inspired, convention-over-configuration, trailpacks, yeoman-scaffolding, rest-api, microservices, nodejs

## Member repositories
- trailsjs/trails (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:16.865967+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:45:06.325516+00:00, confidence not recorded.
  - readme: https://github.com/trailsjs/trails (fetched 2026-08-28T04:05:16.865967+00:00, sha 94949e1de07c)
  - homepage: http://trailsjs.io (fetched 2026-08-29T11:18:39.062022+00:00, sha f807b4c43f70)
  - registry_npm: https://registry.npmjs.org/trails (fetched 2026-08-29T11:18:39.071072+00:00, sha ef068c51afdb)
- Data as of 2026-08-30T08:39:29.467469+00:00.
