# layrjs/layr

Dramatically simplify full‑stack development

Repository: https://github.com/layrjs/layr
Canonical: https://ross.abutalabs.com/products/layr
Homepage: https://layrjs.com
Language: TypeScript
License: MIT
License Family: permissive
Topics: full-stack, apiless, frontend, backend, database, orm, cross-layer-inheritance, javascript, typescript
Last push: 2026-04-30T11:29:35+00:00

## Health v2 (maintenance only)
Score: 68/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 80, release rhythm 35, longevity 100
- inputs: {"age_days": 2600, "days_push": 125, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1217, forks 35 (observed 2026-08-28T04:04:01.376264+00:00)

## What it is
Layr is a full-stack JavaScript/TypeScript framework that dramatically simplifies full-stack development by letting frontend and backend share components through cross-layer inheritance, eliminating the need to write APIs. It provides an ORM with MongoDB storage, routing, role-based authorization, and React integration.

## Use cases
- build full-stack apps without writing REST or GraphQL APIs
- share business logic between frontend and backend via cross-layer inheritance
- persist JavaScript components to MongoDB with an ORM
- add role-based authorization to a full-stack app
- build React apps with integrated backend routing

## When to choose
- you want a JavaScript/TypeScript full-stack framework that removes API boilerplate
- your stack is React on the frontend with MongoDB storage
- you like component-oriented models with cross-layer inheritance

## When to avoid
- you need PostgreSQL, MySQL, or transactions (not yet supported)
- you need realtime updates or automatic migrations (still on the roadmap)
- you prefer a framework with a large community and ecosystem

## Facets
- artifact type: framework
- maturity: active
- function: web-framework, orm, serialization, routing, auth, rpc
- domain: web-development, frontend, backend, databases
- platform: cross-platform
- tags: full-stack, apiless, cross-layer-inheritance, react, mongodb, component-based, nodejs, javascript, typescript

## Member repositories
- layrjs/layr (main) score 68

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:01.376264+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-30T06:17:08.014862+00:00, confidence not recorded.
  - readme: https://github.com/layrjs/layr (fetched 2026-08-28T04:04:01.376264+00:00, sha 13be5e9b87c3)
  - homepage: https://layrjs.com (fetched 2026-08-29T12:24:52.762510+00:00, sha 50ceb6b09989)
- Data as of 2026-08-30T08:39:29.467469+00:00.
