Strongly Typed Modern Web Application Framework for Node.js

Fabrix is a strongly typed modern web application framework for Node.js or even Browsers. It builds on the pedigree of Railsand Grailsto accelerate development by adhering to a straightforward, convention-based, API-driven design philosophy.

Note: Because Fabrix is lightweight and easily extendable, it's also very veryfast and well suited for function based environments.

Getting Started


Note: The CLI is under construction, search for example apps in the meantime

Install the Fabrix CLI. This will help you generate a Fabrix app and more.

$ npm install @fabrix/fab-cli -g

Generate A New Fabrix App

$ fab app <new_app_name>

Start Sewing

Fabrix uses a CLI to generate scaffolding for new applications, and to create resources inside the application.

$ fab --help


  Create New App
    fab app <app-name>

  Create New Model
    fab model <model-name>

  Create New Controller
    fab controller <controller-name>

  Create New Policy
    fab policy <policy-name>

  Create New Service
    fab service <service-name>

  Create New Spool
    fab spool <spool-name>


Once installation is complete, begin weaving!

$ npm run compile && node dist/server.js

Sew on and Sew Forth!


Spoolsextend the framework's capabilities and allow developers to leverage existing ecosystem tools through a simple and well-defined API. New features, behavior, APIs, and other functionality can be added to the Fabrix framework through Spools.

Many Fabrix installations will include some of the following Spools:


  • Windows, Mac, and Linux
  • Node 8.0 and newer


See fabrix.app/docsfor complete documentation.

More Resources


Coming soon!


Coming soon!



See https://github.com/fabrix-app/fabrix/wiki/FAQ


We love contributions! Please check out our Contributor's Guidefor more information on how our projects are organized and how to get started.


Fabrix uses a continuous integration process and all tests must pass for Fabrix to release a new version. CircleCI releases a new version when a PR is merged into master. For local development, you can download CircleCI's local development toolsand run local tests before submitting a Pull Request.

Fabrix maintains a high score of coverage tests, any Pull Request should have well written Integration and Unit tests that increase the overall coverage score.

Browser Support

Browser support provided by Webpack is on it's way.

webpack --config ./test-browser/webpack.config.js




Fabrix would not have been possible without the substantial work done by the Trails.js team. While Fabrix maintains a different code base and system of best practices, none of this would have been possible without the contributions from the Trails community.







  • @fabrix/spool-sequelize

    Spool Datastore Spool for Sequelize.js http://sequelizejs.com spoolsequelize Gittergitterimagegi...

    9 天前
  • @fabrix/spool-router

    Spool Router for Fabrix spoolrouter Gittergitterimagegitterurl NPM versionnpmimagenpmurl Build ...

    9 天前
  • @fabrix/spool-permissions

    Spool: Permissions (ACL) for Fabrix using SpoolPassport spoolpermission Gittergitterimagegitterur...

    9 天前
  • @fabrix/spool-passport

    Spool To allow passport authentification for a Fabrix application spoolpassport Gittergitterimag...

    9 天前
  • @fabrix/spool-notifications

    Spool Notifications spoolnotifications Gittergitterimagegitterurl NPM versionnpmimagenpmurl Buil...

    9 天前
  • @fabrix/spool-i18n

    Spool i18n for Fabrix spooli18n Gittergitterimagegitterurl NPM versionnpmimagenpmurl Build Statu...

    9 天前
  • @fabrix/spool-generics

    Spool Generic API spoolgenerics Gittergitterimagegitterurl NPM versionnpmimagenpmurl Build Statu...

    9 天前
  • @fabrix/spool-express

    Spool Express Binds the routes compiled in spoolrouter to an Express 4 Server. spoolexpress :pack...

    9 天前
  • @fabrix/spool-events

    Spool Event Emitter Pub/Sub for Fabrix spoolevents Gittergitterimagegitterurl NPM versionnpmimag...

    9 天前
  • @fabrix/spool-email

    Spool Emails spoolemail Gittergitterimagegitterurl NPM versionnpmimagenpmurl Build Statusciimage...

    9 天前


扫码加入 JavaScript 社区