Service Framework for NodeJS
An easy and elegant web-based service framework for Node.js
For documentation, please visit sfnjs.com or the
Wiki.
Easy and Elegant
SFN provides a set of friendly and elegant APIs, you can use them to build an expressive
application very quickly, just focus on your own logic and design, and the framework
will automatically handle everything that remains for you.
Distributed Design
SFN supports auto-scaling and service discovery, it allows you developing in one machine,
and separate services whenever and wherever. The system will auto-redirect traffics,
and distributively deploy without any modification.
Hot Reloading Modules
SFN provides a module solution that allows you, after modifying a source file,
immediately hot-reload the module and functions without rebooting the process. And when
deploying, restarting remote service will not break the application.
Run Test
SFN currently doesn't provide any unit test of the framework (but dependency
modules do), the only way to test it is simply cloning the repository from
GitHub to your computer, install all the dependencies and run the built-in
documentation website.
git clone https://github.com/hyurl/sfn
mkdir ./node_modules
ln -s ./sfn ./node_modules/sfn
cd sfn
npm install
tsc
node dist