Tutorial: Create a shopping cart with Node.js

Akka Serverless provides an execution environment for your Cloudstate services. Cloudstate enables you to write stateful serverless applications to avoid the need to fetch data for every new request your application needs to handle. In this tutorial you’ll learn how to build and deploy a stateful serverless Node.js application.

Before you begin

  1. Make sure that you have Node.js v12 or later installed on your machine. If you need help installing Node.js, you can check this new tab page.

  2. You need to package your Cloudstate services in a Docker container, so make sure you have the Docker command line installed and an account for a Docker container repository.

  3. To deploy to Akka Serverless, you’ll need to have an account and the Akka Serverless command line installed

The tutorial includes the following high-level steps: