Sign inSign up

codeflowlang/codeflow

By codeflowlang

•Updated almost 5 years ago

High performance, light-weight API integration platform built on Node.js™

Image
0

100K+

codeflowlang/codeflow repository overview

⁠Codeflow

Codeflow is an API integration platform built on top of Node.js™ that enables developers to build high performance, scalable backend services. Codeflow programs are inherently asynchronous and look like a graph, so it's easy to write complex, asynchronous code without any callback hell.

View full documentation on codeflow.co⁠.

⁠Running a project

When the folder is passed, the project is started as whole, where all the trigger files inside the project are started by the engine automatically during startup. For more documentation visit the deployment guide⁠.

Start as project from the current directory

docker run -it -v ${PWD}:/app codeflowlang/codeflow run .

Start as project from a specific path

docker run -it -v /<path-to-project-folder>:/app  codeflowlang/codeflow run .

⁠Running a flow

When the flow file is passed, only that flow is started. For more documentation visit the deployment guide⁠.

Examples:

To run a single flow:

docker run -it -v /<path-to-project-folder>:/app codeflowlang/codeflow run hello.flw

Run a flow with an input JSON:

docker run -it -v /<path-to-project-folder>:/app codeflowlang/codeflow run -i '{"id": 1, "name": "Jack Sparrow"}' update.flw

Run a flow with an input JSON and print the output

docker run -it -v /<path-to-project-folder>:/app codeflowlang/codeflow run -i '{"age": 30}' calculate.flw  -o

For more details, visit http://codeflow.co/⁠

Tag summary

Content type

Image

Digest

Size

54 MB

Last updated

almost 5 years ago

docker pull codeflowlang/codeflow