Cloudstate uses the grpc node package, which compiles a native gRPC implementation using
node-gyp. It requires a minimum
nodeversion of 6.14.3.
Cloudstate requires using the
protoccompiler to serialize your
protobufdefinitions into the
protobufbinary descriptor format. We provide helper scripts to automatically download the
protoccompiler for your platform and do this compilation.
You will need Docker to build a container that you can deploy to Akka Serverless. You can publish the container to a variety of registries.
Once you have the prerequisites, you need to add the
cloudstate package to your project, which can be done by running:
npm install cloudstate --save