Skip to content

Latest commit

 

History

History
64 lines (45 loc) · 3.03 KB

README.md

File metadata and controls

64 lines (45 loc) · 3.03 KB

Cloudstate Sample Applications

Prerequisites

The following assumes that you have completed the steps for setting up your local environment as well as creating an account and project. If you have not done this you must follow the instructions here:

Sample application layout

Grab the sample application from github:

https://github.com/lightbend/cloudstate-samples

Shopping Cart

Event sourced example with PostgreSQL statefulstore. Simple shop front end to interact with.

Chat sample

CRDT chat with simple front end web interface, friends storage, and presence state.

Sample event sourced application

Event sourced example with PostgreSQL statefulstore. This example provides a back-end service that implements a shopping cart like functionality, allowing for requests to be send against it in order to store, retrieve and delete data.

Dev notes

Nodes.js version

We pick up node.js version 12 as default in all node.js related projects. Based on node.js website, currently version 12 is recommended for most users. Based on node.js release page, the odd number release has only 6 months support cycle, so we don't set it as default. If you plan to try the different node.js version in sample projects, you can

  • modify .nvmrc file, so command nvm install and nvm use will pick up the node.js version you set.
  • modify package.json file, especially "engineStrict" and "engines.node" fields. It affects the version check when running npm install

Maintenance notes

License

The license is Apache 2.0, see LICENSE-2.0.txt.

Maintained by

This project is NOT supported under the Lightbend subscription.

This project is maintained mostly by @coreyauger and @cloudstateio.

Feel free to ping above maintainers for code review or discussions. Pull requests are very welcome–thanks in advance!

Disclaimer

DISCLAIMER.txt