Complete this short tutorial to create, test, and deploy an Akka Serverless service.
This tutorial highlights the Event Sourced entity. Akka Serverless services do not require a data management layer. The Event Sourced entity captures the changes to data as events that Akka Serverless persists in a Journal.
|To learn more about Event Sourced entities and the Akka Serverless state model, see Choosing a state model.|
The following prerequisites are required to complete this tutorial successfully:
This tutorial requires a local environment configuration as described in Configuring your development environment.
To deploy to Akka Serverless make sure you set up your account as described in Creating an Akka Serverless account.
Node.js 14 or newer must be installed on the development machine. Confirm the required Node version at the command prompt:
The development process for this tutorial is:
npmin the terminal to initialize the shopping cart project and configure the dependencies.
Create the internal and external
.protbufinterfaces for the
mochaframework and the
chaitest assertion library for unit testing.
Run the service locally and deploy to AkkaServerless.