Cake Demo Apps
May 30, 2026 ยท View on GitHub
Available examples
SELECTand decode into CatsUNIONand decode into BeingsINSERTDELETEUPDATEINSERT ON CONFLICT UPDATESELECTandJOIN- fragment with prepared statement
The demo apps come with a docker compose.yml file which contains a
database setup. You will need to install or have installed Git,
Erlang, Gleam, and Docker however, thus:
Installing prerequisites
If not already installed, install:
- Install Git.
- Install Erlang, Rebar3, and Gleam, see Installing chapter on the Gleam website for instructions.
- Install Docker Desktop or Docker Engine.
Obtaining a copy of Cake
Open a terminal of your choice to clone Cake:
git clone https://github.com/inoas/gleam-cake.git
cd gleam-cake
Starting the docker compose setup for demo apps
Open a terminal of your choice and within the gleam-cake directory cloned
above:
cd examples/docker
bin/attached
Start the demo app
Open a new terminal and run:
cd examples
cd 01_select_and_decode # ...or any other example app!
gleam clean
gleam run