flow-framework-cli
v1.1.7
Published
A CLI tool for Flow - cross-platform javascript framework incorporating aspects of flow-based programming (FBP).
Downloads
11
Maintainers
Readme
flow-framework
The Flow Framework is custom framework based on the FBP (Flow-based Programming) paradigm.
The idea is to allow any ES6 Javascript module that extends the Flow class to be easily and seemlessly integrated into the client-side or server-side of an application built using the Flow Framework.
Note that all Flow implementations must take 'id' and 'config' in their constructor in order to be properly loaded by the ModuleLoader.
flow-framework-cli
This tool may be installed by running
npm install --global flow-framework-cli
Once installed, a flow project can be started using
flow init
The folder structure of the project should look something like this:
package.json
node_modules
src
- all <- modules intended for both client and server-side use
- server <- server-only modules
- web <- client-only modules
Build the project with
flow build
Once built, you can run the default flow server with
flow run
This will start both the server-side flow node and a web server for hosting the client-side code.
Using third-party libraries
TODO - fill this out in detail