-
Notifications
You must be signed in to change notification settings - Fork 3
Home
An easy and elegant web-based service framework for Node.js
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.
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.
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.
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 # some modules require sfn in node_modules
cd sfn
yarn install
tsc
node dist