GitHub - fabrix-app/fabrix: Strongly Typed Modern Web Application Framework for...
source link: https://github.com/fabrix-app/fabrix
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.md
Fabrix is a strongly typed modern web application framework for Node.js. It builds on the pedigree of Rails and Grails to accelerate development by adhering to a straightforward, convention-based, API-driven design philosophy.
Getting Started
Install
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 Usage: fab Generators: 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>
Run
Once installation is complete, begin weaving!
$ npm run compile && node dist/server.js
Sew on and Sew Forth!
Spools
Spools extend 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:
Compatibility
- Windows, Mac, and Linux
- Node 8.0 and newer
Documentation
See fabrix.app/docs for complete documentation.
More Resources
Tutorials
Videos
Support
FAQ
See https://github.com/fabrix-app/fabrix/wiki/FAQ
Contributing
We love contributions! Please check out our Contributor's Guide for more information on how our projects are organized and how to get started.
Development
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 tools and 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.
License
Legacy
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.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK