# xiongwilee/Gracejs

A Nodejs BFF framework, build with koa2（基于koa2的标准前后端分离框架）

Repository: https://github.com/xiongwilee/Gracejs
Canonical: https://ross.abutalabs.com/products/gracejs
Homepage: https://grace.wilee.me
Language: JavaScript
License: MIT
License Family: permissive
Topics: koa, nodejs, mvc, proxy, sfb, framework, grace, gracejs, koa-grace
Last push: 2025-03-27T08:47:57+00:00

## Health v2 (maintenance only)
Score: 38/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 13, release rhythm 35, longevity 100
- inputs: {"age_days": 3865, "days_push": 524, "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 1388, forks 238 (observed 2026-08-28T04:04:35.239469+00:00)

## What it is
Gracejs (formerly koa-grace v2) is a Node.js BFF framework built on Koa 2 that implements an MVC + RESTful architecture for front-end/back-end separation. It serves multiple site applications from a single Node process, with a proxy mechanism for fetching backend API data concurrently and built-in mock support.

## Use cases
- build a BFF layer between frontend apps and backend microservices
- serve multiple sites from one Node.js server with virtual hosts
- render server-side pages by aggregating several REST APIs concurrently
- mock backend API data during frontend development
- structure a Node.js app with MVC controllers and templates

## When to choose
- you need a Koa 2 based front-end/back-end separation framework with MVC routing
- you want one Node process to host multiple site applications
- your pages need concurrent aggregation of multiple backend HTTP APIs
- you want built-in data mocking for development

## When to avoid
- you need a full-stack framework with a real database/ORM layer
- you prefer modern actively evolving frameworks like Next.js or NestJS
- your project is a pure SPA without server-side rendering needs
- you need long-term community support for a small project

## Facets
- artifact type: framework
- maturity: maintenance
- function: web-framework, http-server, proxy, routing, templating, middleware
- domain: web-development, backend, apis
- platform: cross-platform
- tags: bff, koa2, mvc, restful, front-back-separation, mock, multi-site, nodejs, web-server

## Member repositories
- xiongwilee/Gracejs (main) score 38

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:35.239469+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:39:47.910913+00:00, confidence not recorded.
  - readme: https://github.com/xiongwilee/Gracejs (fetched 2026-08-28T04:04:35.239469+00:00, sha 4f46c39399d2)
  - homepage: https://grace.wilee.me (fetched 2026-08-29T11:55:31.061068+00:00, sha 1897f9019bbf)
- Data as of 2026-08-30T08:39:29.467469+00:00.
